예제 #1
0
 public void StartInsertPositionTimer()
 {
     if (_stopwatchTextBox == null)
     {
         _stopwatchTextBox = new StopwatchTextBox(TbTimer);
         _stopwatchTextBox.Start();
     }
 }
예제 #2
0
 private void StopConnectEngine()
 {
     if (engineClient != null)
     {
         engineClient.Stop();
         engineClient = null;
     }
     if (_stopwatchTextBox != null)
     {
         _stopwatchTextBox.Stop();
         _stopwatchTextBox = null;
     }
 }