Input config - set Accept & Cancel properties of the winform to none since they were interfering with mapping keys

This commit is contained in:
andres.delikat 2011-02-20 14:31:42 +00:00
parent f9d7a15ee5
commit 7d093138ca
1 changed files with 154 additions and 156 deletions

View File

@ -39,7 +39,7 @@
this.AllowLR = new System.Windows.Forms.CheckBox(); this.AllowLR = new System.Windows.Forms.CheckBox();
this.SystemGroupBox = new System.Windows.Forms.GroupBox(); this.SystemGroupBox = new System.Windows.Forms.GroupBox();
this.SystemComboBox = new System.Windows.Forms.ComboBox(); this.SystemComboBox = new System.Windows.Forms.ComboBox();
this.testInputWidget = new InputWidget(); this.testInputWidget = new BizHawk.MultiClient.InputWidget();
((System.ComponentModel.ISupportInitialize)(this.ControllerImage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ControllerImage)).BeginInit();
this.ControllerSelectGroupBox.SuspendLayout(); this.ControllerSelectGroupBox.SuspendLayout();
this.SystemGroupBox.SuspendLayout(); this.SystemGroupBox.SuspendLayout();
@ -112,13 +112,13 @@
// //
// ControllComboBox // ControllComboBox
// //
this.ControllComboBox.FormattingEnabled = true;
this.ControllComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ControllComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ControllComboBox.FormattingEnabled = true;
this.ControllComboBox.Location = new System.Drawing.Point(6, 19); this.ControllComboBox.Location = new System.Drawing.Point(6, 19);
this.ControllComboBox.Name = "ControllComboBox"; this.ControllComboBox.Name = "ControllComboBox";
this.ControllComboBox.Size = new System.Drawing.Size(110, 21); this.ControllComboBox.Size = new System.Drawing.Size(110, 21);
this.ControllComboBox.SelectedIndexChanged += new System.EventHandler(ControllComboBox_SelectedIndexChanged);
this.ControllComboBox.TabIndex = 0; this.ControllComboBox.TabIndex = 0;
this.ControllComboBox.SelectedIndexChanged += new System.EventHandler(this.ControllComboBox_SelectedIndexChanged);
// //
// AllowLR // AllowLR
// //
@ -142,8 +142,8 @@
// //
// SystemComboBox // SystemComboBox
// //
this.SystemComboBox.FormattingEnabled = true;
this.SystemComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.SystemComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.SystemComboBox.FormattingEnabled = true;
this.SystemComboBox.Items.AddRange(new object[] { this.SystemComboBox.Items.AddRange(new object[] {
"SMS / GG / SG-1000", "SMS / GG / SG-1000",
"PC Engine / SGX", "PC Engine / SGX",
@ -166,10 +166,8 @@
// //
// InputConfig // InputConfig
// //
this.AcceptButton = this.OK;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.Cancel;
this.ClientSize = new System.Drawing.Size(439, 319); this.ClientSize = new System.Drawing.Size(439, 319);
this.Controls.Add(this.testInputWidget); this.Controls.Add(this.testInputWidget);
this.Controls.Add(this.SystemGroupBox); this.Controls.Add(this.SystemGroupBox);