Example #1
0
 public static void CleanObj()
 {
     if (obj != null)
     {
         obj = null;
     }
 }
Example #2
0
 public static PrepareEmployeeCalenda CreateInstance()
 {
     if (obj == null)
     {
         return(obj = new PrepareEmployeeCalenda());
     }
     else
     {
         return(obj);
     }
 }
Example #3
0
 private void PrepareEmployeeCalenda_FormClosing(object sender, FormClosingEventArgs e)
 {
     obj = null;
 }