示例#1
0
 private void PushButton()
 {
     if (startButton.Text == "запуск")
     {
         monitor.Start();
         startButton.Text = "стоп";
     }
     else
     {
         monitor.Stop();
         startButton.Text = "запуск";
     }
 }
示例#2
0
 public void Start_DirectoryExists_EnableRaisingEventsShouldBeTrue()
 {
     directory.IsExist = true;
     SUT.Start();
     Assert.True(watcher.EnableRaisingEvents);
 }