packages/Windows API Code Pack 1.1/source/Samples/Shell/TabbedThumbnailDemo/CS/Winforms/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
[STAThread]
        static void Main()
        {
            if (!TaskbarManager.IsPlatformSupported)
            {
                MessageBox.Show("This demo requires to be run on Windows 7", "Demo needs Windows 7", MessageBoxButtons.OK, MessageBoxIcon.Error);
                System.Environment.Exit(0);
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
[ STAThread ] static void Main ( ) { if ( ! TaskbarManager . IsPlatformSupported ) { MessageBox . Show ( " " , " " , MessageBoxButtons . OK , MessageBoxIcon . Error ) ; System . Environment . Exit ( 0 ) ; return ; } Application . EnableVisualStyles ( ) ; Application . SetCompatibleTextRenderingDefault ( false ) ; Application . Run ( new Form1 ( ) ) ; }
The main entry point for the application.
The main entry point for the application .