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

			Program4 p = new Program4();
			p.ExitRequested += p_ExitRequested;

			Task programStart = p.StartAsync();

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

            Program4 p = new Program4();

            p.ExitRequested += p_ExitRequested;

            Task programStart = p.StartAsync();

            Application.Run();
        }