Пример #1
0
 protected override void OnStop()
 {
     service = null;
 }
Пример #2
0
 private void btnRead_Click(object sender, EventArgs e)
 {
     ServiceMonitor read = new ServiceMonitor();
     read.ReadingXml();
 }
Пример #3
0
 public Service1()
 {
     InitializeComponent();
     service = new ServiceMonitor();
 }
Пример #4
0
 private void btnGet_Click(object sender, EventArgs e)
 {
     ServiceMonitor service = new ServiceMonitor();
     service.StartProcess();
 }