در واقع ساز و کاری نیاز دارم تا همه ی جعبه ها رو چک کنه هر کدوم خالی بود PictureBox جلوش فعال بشه!
این خط کدها را جایگزین کنید.
if (string.IsNullOrWhiteSpace(txt_Username.Text))
Alter_PictureBox1.Visible = true;
if (string.IsNullOrWhiteSpace(txt_Password.Text))
Alter_PictureBox2.Visible = true;
if (string.IsNullOrWhiteSpace(txt_RepeatPassword.Text ))
Alter_PictureBox3.Visible = true;
if (string.IsNullOrWhiteSpace(txt_PasswordReminder.Te xt))
Alter_PictureBox4.Visible = true;
if (string.IsNullOrWhiteSpace(userPrivilage_ComboBox. Text))
Alter_PictureBox5.Visible = true;
به جای عکس از errorprovider استفاده کنید picturebox باعث میشه فرم دیر load بشه.
در مورد errorprovider تو سایت یا google و ... جستجو کنید آموزشهای زیادی است.