예제 #1
0
 protected override void OnStop()
 {
     _myDevice.StopService();
     _myDevice = null;
 }
예제 #2
0
 protected override void OnStart(string[] args)
 {
     _myDevice = new DeviceManager();
 }