示例#1
0
 //Bouton lancer le Serveur
 private void button1_Click(object sender, EventArgs e)
 {
     /*
      * Thread thread = new Thread(new ThreadStart(srv.launch));
      * thread.Start();*/
     srv = new Serveur();
     bgw_console.RunWorkerAsync(srv);
 }
示例#2
0
        static void Main(string[] args)
        //static void Main()
        {
            //Ihm ihm = new Ihm();
            Serveur hiaServer = new Serveur(); //instanciation d'un serveur

            //Application.EnableVisualStyles();
            //Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new hia());
            //Application.Run(new Ihm());
        }