Esempio n. 1
0
 public static frmInspectorDetail getInstance()
 {
     if (uniqueInstance == null)
     {
         lock (padlock)
         {
             if (uniqueInstance == null)
             {
                 uniqueInstance = new frmInspectorDetail();
             }
         }
     }
     return(uniqueInstance);
 }
Esempio n. 2
0
 private void frmInspectorDetail_FormClosing(object sender, FormClosingEventArgs e)
 {
     uniqueInstance = null;
     AnimateWindow(this.Handle, 500, AW_BLEND | AW_HIDE);
 }