Example #1
0
 private void SunStoreDisconnectedModefrm_Load_1(object sender, EventArgs e)
 {
     LoadIDs();
     LoadData();
     ProductIDcbx.Hide();
     ProductsIDlbl.Hide();
     ProductNametxt.Hide();
     ProductNamelbl.Hide();
     Pricetxt.Hide();
     Pricelbl.Hide();
     btn.Hide();
     btn.Text = "";
 }
Example #2
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 #3
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";
     }
 }
Example #4
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";
     }
 }