private void AddButtonClick(object sender, EventArgs e)
 {
     try
     {
         AddForm addForm = new AddForm();
         addForm.CodeGroupAdded += new EventHandler<CodeGroupTypeEventArgs>(CodeGroupAdded);
         addForm.StartPosition = FormStartPosition.CenterParent;
         addForm.ShowDialog(this);
     }
     catch (Exception ex)
     {
         Utilities.HandleException(ex);
     }
 }
Ejemplo n.º 2
0
 private void AddButtonClick(object sender, EventArgs e)
 {
     try
     {
         AddForm addForm = new AddForm();
         addForm.CodeGroupAdded += new EventHandler <CodeGroupTypeEventArgs>(CodeGroupAdded);
         addForm.StartPosition   = FormStartPosition.CenterParent;
         addForm.ShowDialog(this);
     }
     catch (Exception ex)
     {
         Utilities.HandleException(ex);
     }
 }