Ejemplo n.º 1
0
 public static DatabaseDesignForm Instance()
 {
     if (instance == null)
     {
         lock (_lockThis)
         {
             instance = new DatabaseDesignForm();
         }
     }
     else
     {
         instance.FormLoadAgain();
     }
     return(instance);
 }
Ejemplo n.º 2
0
 private void DesignerForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     SaveUserDesign();
     instance = null;
 }