Exemplo n.º 1
0
 private void butHuy_Click(object sender, System.EventArgs e)
 {
     try
     {
         int i = dataGrid1.CurrentCell.RowNumber;
         if (MessageBox.Show(lan.Change_language_MessageText("Đồng ý hủy ?"), LibMedi.AccessData.Msg, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
         {
             d.del_dmcachdung(dataGrid1[i, 1].ToString());
             load_grid();
         }
     }
     catch {}
 }