Пример #1
0
 public void Dispose()
 {
     IsComplete = true;
     foreach (IJob job in J.OfType <IDisposable>())
     {
         (job as IDisposable).Dispose();
     }
     sgSet.Dispose();
 }
Пример #2
0
 void Reset()
 {
     if (sgSet != null)
     {
         sgSet.Dispose();
     }
     jDemagnetizer.Finish();
     checkBox2.Enabled = true;
     checkBox3.Enabled = true;
 }