Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Model m = new Model();
            ChatController c = new ChatController(m);
            InputOutputForm f = new InputOutputForm(c);
            c.update += f.OnModelUpdate;

               //login message box

            Application.Run(f);
        }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Model           m = new Model();
            ChatController  c = new ChatController(m);
            InputOutputForm f = new InputOutputForm(c);

            c.update += f.OnModelUpdate;

            //login message box

            Application.Run(f);
        }