if (tb5.Text == "") { string myStringVariable1 = string.Empty; pictureBox1.Image == true(); // calling the picture } else { pictureBox2.Image == true(); // calling the picture }
pictureBox1.Visible = false; pictureBox2.Visible = false; if (string.IsNullOrWhiteSpace(tb5.text)) { pictureBox1.Visible = true; } else { pictureBox2.Visible = true; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)