示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            MasterView ViewWindow = new MasterView();
            try
            {
                ViewWindow.Show();
            }
            catch
            {
                Console.WriteLine("Could not display window");
                return;
            }
            Application.Run();
        }