Пример #1
0
 /// <summary>
 /// Set things in motion so your service can do its work.
 /// </summary>
 protected override void OnStart(string[] args)
 {
     //System.Diagnostics.Debugger.Break();
     myProgram = new MyProgram();
     myProgram.Start();
 }
Пример #2
0
 /// <summary>
 /// Set things in motion so your service can do its work.
 /// </summary>
 protected override void OnStart(string[] args)
 {
     //System.Diagnostics.Debugger.Break();
     myProgram = new MyProgram();
     myProgram.Start();
 }