Exemplo n.º 1
0
 private void m_addCurve_Click(object sender, EventArgs e)
 {
     if (ActiveSail == null)
         return;
     AddGroup dlg = new AddGroup();
     dlg.Name = "enter name";
     if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         IGroup grp = dlg.CreateGroup();
         if (grp != null)
         {
             ActiveSail.Add(grp);
             ActiveSail.Rebuild(null);
         }
     }
 }