예제 #1
0
 public static void Free()
 {
     if (_bar != null)
     {
         _bar.barForm.Close();
         _bar = null;
     }
     GC.Collect();
 }
예제 #2
0
 public static ProgressUtil Bar()
 {
     if (_bar == null)
     {
         _bar = new ProgressUtil();
     }
     if (_bar.barForm.IsDisposed)
     {
         _bar.barForm = new fmWaitBar();
     }
     return(_bar);
 }