Esempio n. 1
0
 public void NewOnlineWorkspace()
 {
     if (!PromptToSaveWorkspace())
     {
         return;
     }
     using (var dialog = new NewOnlineWorkspaceForm())
     {
         if (dialog.ShowDialog(TopLevelControl) == DialogResult.Cancel)
         {
             return;
         }
         Workspace = OpenWorkspace(dialog.Filename);
     }
 }
Esempio n. 2
0
 public void NewOnlineWorkspace()
 {
     if (!PromptToSaveWorkspace())
     {
         return;
     }
     using (var dialog = new NewOnlineWorkspaceForm())
     {
         if (dialog.ShowDialog(TopLevelControl) == DialogResult.Cancel)
         {
             return;
         }
         Workspace = OpenWorkspace(dialog.Filename);
     }
 }