Ejemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var t = Type.GetType("Mono.Runtime");
            IsMonoRuntime = (t != null);

            var session = new CommsSession();
            //var session = new FakeCommsSession();

            var mainVm = new MainVm(session);

            Application.Run(new mainForm(mainVm));
        }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var t = Type.GetType("Mono.Runtime");

            IsMonoRuntime = (t != null);

            var session = new CommsSession();
            //var session = new FakeCommsSession();


            var mainVm = new MainVm(session);


            Application.Run(new mainForm(mainVm));
        }