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(); }
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(); }