Config: Stop config windows from being resized/maximized

This commit is contained in:
Souryo 2016-02-06 21:12:08 -05:00
parent 2715d87179
commit 00201ebf46
3 changed files with 21 additions and 13 deletions

View file

@ -248,7 +248,7 @@
this.lblNesType.TabIndex = 13;
this.lblNesType.Text = "Console Type:";
//
// cboNesType
// cboConsoleType
//
this.cboConsoleType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboConsoleType.FormattingEnabled = true;
@ -256,7 +256,7 @@
"NES",
"Famicom"});
this.cboConsoleType.Location = new System.Drawing.Point(90, 3);
this.cboConsoleType.Name = "cboNesType";
this.cboConsoleType.Name = "cboConsoleType";
this.cboConsoleType.Size = new System.Drawing.Size(109, 21);
this.cboConsoleType.TabIndex = 14;
this.cboConsoleType.SelectedIndexChanged += new System.EventHandler(this.cboNesType_SelectedIndexChanged);
@ -310,6 +310,8 @@
this.ClientSize = new System.Drawing.Size(348, 253);
this.Controls.Add(this.tabMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmInputConfig";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Input Settings";

View file

@ -35,6 +35,7 @@
this.flowLayoutPanel6 = new System.Windows.Forms.FlowLayoutPanel();
this.chkSingleInstance = new System.Windows.Forms.CheckBox();
this.chkDisableScreensaver = new System.Windows.Forms.CheckBox();
this.btnOpenMesenFolder = new System.Windows.Forms.Button();
this.tabMain = new System.Windows.Forms.TabControl();
this.tpgGeneral = new System.Windows.Forms.TabPage();
this.tpgFileAssociations = new System.Windows.Forms.TabPage();
@ -51,7 +52,6 @@
this.chkRemoveSpriteLimit = new System.Windows.Forms.CheckBox();
this.chkFdsAutoLoadDisk = new System.Windows.Forms.CheckBox();
this.chkFdsFastForwardOnLoad = new System.Windows.Forms.CheckBox();
this.btnOpenMesenFolder = new System.Windows.Forms.Button();
this.tlpMain.SuspendLayout();
this.flowLayoutPanel6.SuspendLayout();
this.tabMain.SuspendLayout();
@ -167,6 +167,16 @@
this.chkDisableScreensaver.Text = "Disable screensaver while emulation is running";
this.chkDisableScreensaver.UseVisualStyleBackColor = true;
//
// btnOpenMesenFolder
//
this.btnOpenMesenFolder.Location = new System.Drawing.Point(3, 181);
this.btnOpenMesenFolder.Name = "btnOpenMesenFolder";
this.btnOpenMesenFolder.Size = new System.Drawing.Size(117, 23);
this.btnOpenMesenFolder.TabIndex = 16;
this.btnOpenMesenFolder.Text = "Open Mesen Folder";
this.btnOpenMesenFolder.UseVisualStyleBackColor = true;
this.btnOpenMesenFolder.Click += new System.EventHandler(this.btnOpenMesenFolder_Click);
//
// tabMain
//
this.tabMain.Controls.Add(this.tpgGeneral);
@ -356,22 +366,15 @@
this.chkFdsFastForwardOnLoad.Text = "Automatically fast forward FDS games when disk or BIOS is loading";
this.chkFdsFastForwardOnLoad.UseVisualStyleBackColor = true;
//
// btnOpenMesenFolder
//
this.btnOpenMesenFolder.Location = new System.Drawing.Point(3, 181);
this.btnOpenMesenFolder.Name = "btnOpenMesenFolder";
this.btnOpenMesenFolder.Size = new System.Drawing.Size(117, 23);
this.btnOpenMesenFolder.TabIndex = 16;
this.btnOpenMesenFolder.Text = "Open Mesen Folder";
this.btnOpenMesenFolder.UseVisualStyleBackColor = true;
this.btnOpenMesenFolder.Click += new System.EventHandler(this.btnOpenMesenFolder_Click);
//
// frmPreferences
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(394, 268);
this.Controls.Add(this.tabMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmPreferences";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Preferences";

View file

@ -594,6 +594,9 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(515, 317);
this.Controls.Add(this.tabMain);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmVideoConfig";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Video Options";