Example #1
0
 private void DELradiobtn_CheckedChanged(object sender, EventArgs e)
 {
     if (DELradiobtn.Checked == true)
     {
         ProductIDcbx.Show();
         ProductsIDlbl.Show();
         ProductNametxt.Hide();
         ProductNamelbl.Hide();
         Pricetxt.Hide();
         Pricelbl.Hide();
         btn.Show();
         btn.Text = "Delete";
     }
 }
Example #2
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";
     }
 }