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"; } }
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"; } }
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"; } }