/// <summary>
        /// Constructor fills in the menu contents.
        /// </summary>
        public MainMenuScreen()
            : base("Main Menu")
        {
            // Create our menu entries.
               // MenuEntry playGameMenuEntry = new MenuEntry("Play Game");
            MenuEntry SMGameMenuEntry = new MenuEntry("Play Game!");
            MenuEntry LevelEditorMenuEntry = new MenuEntry("Level Editor");
            MenuEntry optionsMenuEntry = new MenuEntry("Options");

            MenuEntry exitMenuEntry = new MenuEntry("Exit");

            // Hook up menu event handlers.

            SMGameMenuEntry.Selected += SMGameMenuEntrySelected;
            //playGameMenuEntry.Selected += PlayGameMenuEntrySelected;
            optionsMenuEntry.Selected += OptionsMenuEntrySelected;
            exitMenuEntry.Selected += OnCancel;
            LevelEditorMenuEntry.Selected += LevelEditorMenuSelected;

            // Add entries to the menu.
            MenuEntries.Add(SMGameMenuEntry);
            //  MenuEntries.Add(playGameMenuEntry);
            MenuEntries.Add(optionsMenuEntry);
            MenuEntries.Add(LevelEditorMenuEntry);
            MenuEntries.Add(exitMenuEntry);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public PauseMenuScreen()
            : base("Paused")
        {
            // Flag that there is no need for the game to transition
            // off when the pause menu is on top of it.
            IsPopup = true;

            // Create our menu entries.
            MenuEntry resumeGameMenuEntry = new MenuEntry("Resume Game");
            MenuEntry quitGameMenuEntry = new MenuEntry("Quit Game");

            // Hook up menu event handlers.
            resumeGameMenuEntry.Selected += OnCancel;
            quitGameMenuEntry.Selected += QuitGameMenuEntrySelected;

            // Add entries to the menu.
            MenuEntries.Add(resumeGameMenuEntry);
            MenuEntries.Add(quitGameMenuEntry);
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public OptionScreen()
            : base("Options")
        {
            SetMenuEntryText();

            //MenuEntry StartMenuEntry = new MenuEntry("Start Game");

            MenuEntry backMenuEntry = new MenuEntry("Back");

            FullscreenMenuEntry = new MenuEntry("FullScreen: False (Hacked)");
            FullScreenRefreshRateInHzMenuEntry = new MenuEntry("Refresh Rate: 60 (Hacked)");
            EnableAutoDepthStencilMenuEntry = new MenuEntry("Enable Auto Depth Stencil: True (Hacked)");
            MultiSampleQualityMenuEntry = new MenuEntry("Multi Sample Quality: 0 (Hacked)");
            BackBufferWidthMenuEntry= new MenuEntry("Width: 640 (Hacked)");
            BackBufferHeightMenuEntry= new MenuEntry("Height: 480 (Hacked)");

            backMenuEntry.Selected += OnCancel;

            #region commented
            //  ScreenManager.Game.GraphicsDevice.PresentationParameters.MultiSampleQuality

            /* TODO: MileStone 4 ....
                GraphicsDevice gd=new GraphicsDevice();
                GraphicsDeviceManager gdm=new GraphicsDeviceManager();

                gd.PresentationParameters.FullScreenRefreshRateInHz;
                gd.PresentationParameters.EnableAutoDepthStencil;
                gd.PresentationParameters.MultiSampleQuality;
                gd.PresentationParameters.MultiSampleType;
                gd.PresentationParameters.BackBufferWidth;
                gd.PresentationParameters.BackBufferHeight;
                gd.PresentationParameters.BackBufferFormat;
                gd.PresentationParameters.AutoDepthStencilFormat;
                gd.PresentationParameters.IsFullScreen;

                gdm.SynchronizeWithVerticalRetrace = true;  //(or false to de-activate)
                gdm.MinimumPixelShaderProfile;
                gdm.MinimumVertexShaderProfile;
                gdm.PreferMultiSampling;
                gdm.PreferredBackBufferFormat;
                gdm.PreferredBackBufferHeight;
                gdm.PreferredBackBufferWidth;
                gdm.PreferredDepthStencilFormat;
                gdm.ToggleFullScreen;

                // Hook up menu event handlers.
                PlayerNumberMenuEntry.Selected += PlayerNumberMenuEntrySelected;
                LevelMenuEntry.Selected += LevelMenuEntrySelected;
                backMenuEntry.Selected += OnCancel;
                StartMenuEntry.Selected += StartMenuEntrySelected;

                // Add entries to the menu.
                MenuEntries.Add(LevelMenuEntry);
                MenuEntries.Add(PlayerNumberMenuEntry);
            MenuEntries.Add(StartMenuEntry);*/
            #endregion commented
            MenuEntries.Add(FullscreenMenuEntry);
            MenuEntries.Add(FullScreenRefreshRateInHzMenuEntry);
            MenuEntries.Add(EnableAutoDepthStencilMenuEntry);
            MenuEntries.Add(MultiSampleQualityMenuEntry);
            MenuEntries.Add(BackBufferWidthMenuEntry);
            MenuEntries.Add(BackBufferHeightMenuEntry);

            MenuEntries.Add(backMenuEntry);
        }