Ejemplo n.º 1
0
 public void Start()
 {
     if (AutoSaveThread.ThreadState == ThreadState.Unstarted || AutoSaveThread.ThreadState == ThreadState.Stopped)
     {
         AutoSaveThread.Start();
     }
     else if (AutoSaveThread.ThreadState == ThreadState.Aborted)
     {
         AutoSaveThread = new Thread(Run);
         AutoSaveThread.Start();
     }
 }
Ejemplo n.º 2
0
 public void Abort()
 {
     AutoSaveThread.Abort();
 }