示例#1
0
 public void CloseDesigner()
 {
     if (Designer.HasUnsavedChanges() == false ||
         CanExitDesignerWithUnsavedChanges())
     {
         Designer.SetSaved();
         View.DisplayMain();
     }
 }