예제 #1
0
 private void CloseCurrentDatabase(bool createStarterPage)
 {
     this.SaveConfiguration();
     if (this.database != null)
     {
         this.database.Close();
     }
     
     foreach (ToolWindow w in this.windows)
     {
         w.Close();
     }
     
     this.windows.Clear();
     this.formCollectionList = null;
     this.formConfig = null;
     this.formGroupList = null;
     if (createStarterPage)
     {
         this.CreateStarterPage();
     }
     
     this.UpdateToolbarAndMenu();
 }