Exemple #1
0
 private void UPDradiobtn_CheckedChanged(object sender, EventArgs e)
 {
     if (UPDradiobtn.Checked == true)
     {
         ProductIDcbx.Show();
         ProductsIDlbl.Show();
         ProductNametxt.Show();
         ProductNamelbl.Show();
         Pricetxt.Show();
         Pricelbl.Show();
         btn.Show();
         btn.Text = "Edit";
     }
 }
Exemple #2
0
 private void Searchbtn_CheckedChanged_1(object sender, EventArgs e)
 {
     if (Searchbtn.Checked == true)
     {
         ProductIDcbx.Hide();
         ProductsIDlbl.Hide();
         ProductNametxt.Show();
         ProductNamelbl.Show();
         Pricetxt.Show();
         Pricelbl.Show();
         btn.Show();
         btn.Text = "Search";
     }
 }
Exemple #3
0
 private void INSradiobtn_CheckedChanged(object sender, EventArgs e)
 {
     if (INSradiobtn.Checked == true)
     {
         ProductIDcbx.Hide();
         ProductsIDlbl.Hide();
         ProductNametxt.Show();
         ProductNamelbl.Show();
         Pricetxt.Show();
         Pricelbl.Show();
         btn.Show();
         btn.Text = "ADD";
     }
 }