예제 #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();
     }
 }
예제 #2
0
 public void Abort()
 {
     AutoSaveThread.Abort();
 }