예제 #1
0
 protected override void OnStart(string[] args)
 {
     base.OnStart(args);
     OPFDictionary d = new OPFDictionary(AppDomain.CurrentDomain.BaseDirectory + "\\opfdict.txt");
     NetworkService svc = new NetworkService(d);
     worker = new Thread(() => svc.main());
     worker.Start();
 }