CSPspEmu.Gui.Winforms.PspDisplayForm.PspDisplayForm C# (CSharp) Method

PspDisplayForm() public method

public PspDisplayForm ( IGuiExternalInterface IGuiExternalInterface ) : System
IGuiExternalInterface IGuiExternalInterface
return System
        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();
        }
PspDisplayForm