示例#1
0
 private void stopt()
 {
     if (t != null)
     {
         t.Stop();
     }
     t = null;
     if (tnet != null)
     {
         tnet.Stop();
     }
     tnet = null;
 }
示例#2
0
 protected override void OnStart(string[] args)
 {
     stopt();
     t    = new TThread();
     tnet = new TNetThread();
 }