示例#1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     new Thread(() =>
     {
         BasicServiceStarter.Run <ZeroEyes>();
         Environment.Exit(1);
     }).Start();
 }
示例#2
0
 static void Main(string[] args)
 {
     BasicServiceStarter.Run <Mail>();
     Console.ReadKey();
 }
示例#3
0
 static void Main(string[] args)
 {
     BasicServiceStarter.Run <MyService>("DemoService");
 }