Ejemplo n.º 1
0
 private void AddButton_Click(object sender, EventArgs e)
 {
     try
     {
         AddForm frmAdd = new AddForm(operations);
         // dataGridView1.AllowUserToAddRows = true;
         // operations.Selected_Operation = "";
         //frmAdd.UpdateItemsCallback = new UpdateDataDelegate(this.UpdateBindingData);
         frmAdd.ShowDialog();
         // dataGridView1.AllowUserToAddRows = false;
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
     }
 }