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