Ejemplo n.º 1
0
 private void bunifuThinButton22_Click(object sender, EventArgs e)
 {
     //DELETECAT
     if (state == "CAT")
     {
         BLCAT.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
     else if (state == "BOOKS")
     {
         BLBOOKS.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
     else if (state == "ST")
     {
         BLST.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
     else if (state == "SELL")
     {
         BLSELL.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
     else if (state == "BRO")
     {
         BLBRO.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
     else if (state == "USER")
     {
         BLUSER.delete(Convert.ToInt16(dataGridView1.CurrentRow.Cells[0].Value));
         PL.FRM_DDELETE fdelete = new FRM_DDELETE();
         fdelete.Show();
     }
 }