Beispiel #1
0
        private void table_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex >= 0)
            {
                DataGridViewRow row = this.table.Rows[e.RowIndex];
                borrarPorId = (int)row.Cells[0].Value;

                _2OptionDialog dialogo = new _2OptionDialog("Elija una opcion", "Actualizar", "Borrar", this);
                dialogo.Show();
            }
        }
 public actualizar(Form callingForm)
 {
     InitializeComponent();
     formDialog = callingForm as _2OptionDialog;
 }