Пример #1
0
 private void ContextMenu_AddSurface_Click(object sender, EventArgs e)
 {
     if (CurrentProject != null)
     {
         var newSurface = CurrentProject.AddSurface();
         ProjectManager.SelectElement(newSurface);
         SelectElementNodeDelayed(newSurface);
     }
 }