Ejemplo n.º 1
0
 private void cmdEdit_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedCells.Count > 0)
     {
         Guid rowID = (Guid)dataGridView1.SelectedCells[0].OwningRow.Cells["RowID"].Value;
         Master.frmTargetKolektorUpdate ifrmChild = new Master.frmTargetKolektorUpdate(this, rowID);
         ifrmChild.ShowDialog();
     }
     else
     {
         MessageBox.Show(Messages.Error.RowNotSelected);
     }
 }
Ejemplo n.º 2
0
 private void cmdADD_Click(object sender, EventArgs e)
 {
     Master.frmTargetKolektorUpdate ifrmChild = new Master.frmTargetKolektorUpdate(this);
     ifrmChild.ShowDialog();
 }