상속: System.Windows.Forms.Form
예제 #1
0
        public PspDisplayForm(IGuiExternalInterface IGuiExternalInterface)
        {
            GuiThread = Thread.CurrentThread;
            Singleton = this;
            Application.AddMessageFilter(this);

            this.IGuiExternalInterface = IGuiExternalInterface;

            InitializeComponent();
            HandleCreated += new EventHandler(PspDisplayForm_HandleCreated);
            CommonGuiInput = new CommonGuiInput(IGuiExternalInterface);

            this.ShowIcon = ShowMenus;
            this.MainMenuStrip.Visible = ShowMenus;

            /*
            this.MainMenuStrip = null;
            this.PerformLayout();
            */
            //this.MainMenuStrip.Visible = false;

            //GuiConfig.DefaultDisplayScale
            DisplayScale = StoredConfig.DisplayScale;
            RenderScale = StoredConfig.RenderScale;

            updateResumePause();
            UpdateCheckMenusFromConfig();
            updateDebugGpu();
            CommonGuiInput.ReLoadControllerConfig();
            UpdateRecentList();
        }
예제 #2
0
        public PspDisplayForm(IGuiExternalInterface IGuiExternalInterface)
        {
            GuiThread = Thread.CurrentThread;
            Singleton = this;
            Application.AddMessageFilter(this);

            this.IGuiExternalInterface = IGuiExternalInterface;

            InitializeComponent();
            HandleCreated += new EventHandler(PspDisplayForm_HandleCreated);
            CommonGuiInput = new CommonGuiInput(IGuiExternalInterface);

            this.ShowIcon = ShowMenus;
            this.MainMenuStrip.Visible = ShowMenus;

            /*
             * this.MainMenuStrip = null;
             * this.PerformLayout();
             */
            //this.MainMenuStrip.Visible = false;

            //GuiConfig.DefaultDisplayScale
            DisplayScale = StoredConfig.DisplayScale;
            RenderScale  = StoredConfig.RenderScale;

            updateResumePause();
            UpdateCheckMenusFromConfig();
            updateDebugGpu();
            CommonGuiInput.ReLoadControllerConfig();
            UpdateRecentList();
        }