rename PSXControllerConfigNew to PSXControllerConfig
This commit is contained in:
parent
ea8ed79402
commit
3da1972a61
|
@ -481,11 +481,11 @@
|
|||
<Compile Include="config\ProfileConfig.Designer.cs">
|
||||
<DependentUpon>ProfileConfig.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="config\PSX\PSXControllerConfigNew.cs">
|
||||
<Compile Include="config\PSX\PSXControllerConfig.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="config\PSX\PSXControllerConfigNew.Designer.cs">
|
||||
<DependentUpon>PSXControllerConfigNew.cs</DependentUpon>
|
||||
<Compile Include="config\PSX\PSXControllerConfig.Designer.cs">
|
||||
<DependentUpon>PSXControllerConfig.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="config\PSX\PSXHashDiscs.cs">
|
||||
<SubType>Form</SubType>
|
||||
|
@ -1434,8 +1434,8 @@
|
|||
<EmbeddedResource Include="config\ProfileConfig.resx">
|
||||
<DependentUpon>ProfileConfig.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="config\PSX\PSXControllerConfigNew.resx">
|
||||
<DependentUpon>PSXControllerConfigNew.cs</DependentUpon>
|
||||
<EmbeddedResource Include="config\PSX\PSXControllerConfig.resx">
|
||||
<DependentUpon>PSXControllerConfig.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="config\PSX\PSXHashDiscs.resx">
|
||||
<DependentUpon>PSXHashDiscs.cs</DependentUpon>
|
||||
|
|
|
@ -28,418 +28,418 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.cbMultitap_1 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.lbl_p_1_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_1 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_1 = new System.Windows.Forms.Label();
|
||||
this.combo_1_4 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_3 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_2 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_1 = new System.Windows.Forms.ComboBox();
|
||||
this.cbMemcard_1 = new System.Windows.Forms.CheckBox();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.lbl_p_2_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_1 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_1 = new System.Windows.Forms.Label();
|
||||
this.combo_2_4 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_3 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_2 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_1 = new System.Windows.Forms.ComboBox();
|
||||
this.cbMemcard_2 = new System.Windows.Forms.CheckBox();
|
||||
this.cbMultitap_2 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cbMultitap_1
|
||||
//
|
||||
this.cbMultitap_1.AutoSize = true;
|
||||
this.cbMultitap_1.Location = new System.Drawing.Point(18, 43);
|
||||
this.cbMultitap_1.Name = "cbMultitap_1";
|
||||
this.cbMultitap_1.Size = new System.Drawing.Size(63, 17);
|
||||
this.cbMultitap_1.TabIndex = 0;
|
||||
this.cbMultitap_1.Text = "Multitap";
|
||||
this.cbMultitap_1.UseVisualStyleBackColor = true;
|
||||
this.cbMultitap_1.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_4);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_3);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_2);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_1);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_4);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_3);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_2);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_1);
|
||||
this.groupBox1.Controls.Add(this.combo_1_4);
|
||||
this.groupBox1.Controls.Add(this.combo_1_3);
|
||||
this.groupBox1.Controls.Add(this.combo_1_2);
|
||||
this.groupBox1.Controls.Add(this.combo_1_1);
|
||||
this.groupBox1.Controls.Add(this.cbMemcard_1);
|
||||
this.groupBox1.Controls.Add(this.cbMultitap_1);
|
||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(273, 136);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Port 1";
|
||||
//
|
||||
// lbl_p_1_4
|
||||
//
|
||||
this.lbl_p_1_4.AutoSize = true;
|
||||
this.lbl_p_1_4.Location = new System.Drawing.Point(241, 105);
|
||||
this.lbl_p_1_4.Name = "lbl_p_1_4";
|
||||
this.lbl_p_1_4.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_4.TabIndex = 12;
|
||||
this.lbl_p_1_4.Text = "P1";
|
||||
this.lbl_p_1_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_3
|
||||
//
|
||||
this.lbl_p_1_3.AutoSize = true;
|
||||
this.lbl_p_1_3.Location = new System.Drawing.Point(241, 78);
|
||||
this.lbl_p_1_3.Name = "lbl_p_1_3";
|
||||
this.lbl_p_1_3.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_3.TabIndex = 11;
|
||||
this.lbl_p_1_3.Text = "P1";
|
||||
this.lbl_p_1_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_2
|
||||
//
|
||||
this.lbl_p_1_2.AutoSize = true;
|
||||
this.lbl_p_1_2.Location = new System.Drawing.Point(241, 50);
|
||||
this.lbl_p_1_2.Name = "lbl_p_1_2";
|
||||
this.lbl_p_1_2.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_2.TabIndex = 10;
|
||||
this.lbl_p_1_2.Text = "P1";
|
||||
this.lbl_p_1_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_1
|
||||
//
|
||||
this.lbl_p_1_1.AutoSize = true;
|
||||
this.lbl_p_1_1.Location = new System.Drawing.Point(241, 24);
|
||||
this.lbl_p_1_1.Name = "lbl_p_1_1";
|
||||
this.lbl_p_1_1.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_1.TabIndex = 9;
|
||||
this.lbl_p_1_1.Text = "P1";
|
||||
this.lbl_p_1_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_4
|
||||
//
|
||||
this.lbl_1_4.AutoSize = true;
|
||||
this.lbl_1_4.Location = new System.Drawing.Point(94, 105);
|
||||
this.lbl_1_4.Name = "lbl_1_4";
|
||||
this.lbl_1_4.Size = new System.Drawing.Size(15, 13);
|
||||
this.lbl_1_4.TabIndex = 8;
|
||||
this.lbl_1_4.Text = "D";
|
||||
this.lbl_1_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_3
|
||||
//
|
||||
this.lbl_1_3.AutoSize = true;
|
||||
this.lbl_1_3.Location = new System.Drawing.Point(94, 78);
|
||||
this.lbl_1_3.Name = "lbl_1_3";
|
||||
this.lbl_1_3.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_3.TabIndex = 7;
|
||||
this.lbl_1_3.Text = "C";
|
||||
this.lbl_1_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_2
|
||||
//
|
||||
this.lbl_1_2.AutoSize = true;
|
||||
this.lbl_1_2.Location = new System.Drawing.Point(94, 51);
|
||||
this.lbl_1_2.Name = "lbl_1_2";
|
||||
this.lbl_1_2.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_2.TabIndex = 6;
|
||||
this.lbl_1_2.Text = "B";
|
||||
this.lbl_1_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_1
|
||||
//
|
||||
this.lbl_1_1.AutoSize = true;
|
||||
this.lbl_1_1.Location = new System.Drawing.Point(94, 24);
|
||||
this.lbl_1_1.Name = "lbl_1_1";
|
||||
this.lbl_1_1.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_1.TabIndex = 2;
|
||||
this.lbl_1_1.Text = "A";
|
||||
this.lbl_1_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// combo_1_4
|
||||
//
|
||||
this.combo_1_4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_4.FormattingEnabled = true;
|
||||
this.combo_1_4.Location = new System.Drawing.Point(114, 102);
|
||||
this.combo_1_4.Name = "combo_1_4";
|
||||
this.combo_1_4.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_4.TabIndex = 5;
|
||||
this.combo_1_4.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_3
|
||||
//
|
||||
this.combo_1_3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_3.FormattingEnabled = true;
|
||||
this.combo_1_3.Location = new System.Drawing.Point(114, 75);
|
||||
this.combo_1_3.Name = "combo_1_3";
|
||||
this.combo_1_3.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_3.TabIndex = 4;
|
||||
this.combo_1_3.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_2
|
||||
//
|
||||
this.combo_1_2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_2.FormattingEnabled = true;
|
||||
this.combo_1_2.Location = new System.Drawing.Point(114, 48);
|
||||
this.combo_1_2.Name = "combo_1_2";
|
||||
this.combo_1_2.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_2.TabIndex = 3;
|
||||
this.combo_1_2.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_1
|
||||
//
|
||||
this.combo_1_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_1.FormattingEnabled = true;
|
||||
this.combo_1_1.Location = new System.Drawing.Point(114, 21);
|
||||
this.combo_1_1.Name = "combo_1_1";
|
||||
this.combo_1_1.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_1.TabIndex = 2;
|
||||
this.combo_1_1.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// cbMemcard_1
|
||||
//
|
||||
this.cbMemcard_1.AutoSize = true;
|
||||
this.cbMemcard_1.Location = new System.Drawing.Point(18, 21);
|
||||
this.cbMemcard_1.Name = "cbMemcard_1";
|
||||
this.cbMemcard_1.Size = new System.Drawing.Size(70, 17);
|
||||
this.cbMemcard_1.TabIndex = 1;
|
||||
this.cbMemcard_1.Text = "Memcard";
|
||||
this.cbMemcard_1.UseVisualStyleBackColor = true;
|
||||
this.cbMemcard_1.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.btnOK.Location = new System.Drawing.Point(408, 163);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 2;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.Click += new System.EventHandler(this.BtnOk_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(489, 163);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 3;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_4);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_3);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_2);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_1);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_4);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_3);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_2);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_1);
|
||||
this.groupBox2.Controls.Add(this.combo_2_4);
|
||||
this.groupBox2.Controls.Add(this.combo_2_3);
|
||||
this.groupBox2.Controls.Add(this.combo_2_2);
|
||||
this.groupBox2.Controls.Add(this.combo_2_1);
|
||||
this.groupBox2.Controls.Add(this.cbMemcard_2);
|
||||
this.groupBox2.Controls.Add(this.cbMultitap_2);
|
||||
this.groupBox2.Location = new System.Drawing.Point(291, 12);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(273, 136);
|
||||
this.groupBox2.TabIndex = 13;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Port 2";
|
||||
//
|
||||
// lbl_p_2_4
|
||||
//
|
||||
this.lbl_p_2_4.AutoSize = true;
|
||||
this.lbl_p_2_4.Location = new System.Drawing.Point(241, 105);
|
||||
this.lbl_p_2_4.Name = "lbl_p_2_4";
|
||||
this.lbl_p_2_4.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_4.TabIndex = 12;
|
||||
this.lbl_p_2_4.Text = "P1";
|
||||
this.lbl_p_2_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_3
|
||||
//
|
||||
this.lbl_p_2_3.AutoSize = true;
|
||||
this.lbl_p_2_3.Location = new System.Drawing.Point(241, 78);
|
||||
this.lbl_p_2_3.Name = "lbl_p_2_3";
|
||||
this.lbl_p_2_3.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_3.TabIndex = 11;
|
||||
this.lbl_p_2_3.Text = "P1";
|
||||
this.lbl_p_2_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_2
|
||||
//
|
||||
this.lbl_p_2_2.AutoSize = true;
|
||||
this.lbl_p_2_2.Location = new System.Drawing.Point(241, 50);
|
||||
this.lbl_p_2_2.Name = "lbl_p_2_2";
|
||||
this.lbl_p_2_2.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_2.TabIndex = 10;
|
||||
this.lbl_p_2_2.Text = "P1";
|
||||
this.lbl_p_2_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_1
|
||||
//
|
||||
this.lbl_p_2_1.AutoSize = true;
|
||||
this.lbl_p_2_1.Location = new System.Drawing.Point(241, 24);
|
||||
this.lbl_p_2_1.Name = "lbl_p_2_1";
|
||||
this.lbl_p_2_1.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_1.TabIndex = 9;
|
||||
this.lbl_p_2_1.Text = "P1";
|
||||
this.lbl_p_2_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_4
|
||||
//
|
||||
this.lbl_2_4.AutoSize = true;
|
||||
this.lbl_2_4.Location = new System.Drawing.Point(94, 105);
|
||||
this.lbl_2_4.Name = "lbl_2_4";
|
||||
this.lbl_2_4.Size = new System.Drawing.Size(15, 13);
|
||||
this.lbl_2_4.TabIndex = 8;
|
||||
this.lbl_2_4.Text = "D";
|
||||
this.lbl_2_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_3
|
||||
//
|
||||
this.lbl_2_3.AutoSize = true;
|
||||
this.lbl_2_3.Location = new System.Drawing.Point(94, 78);
|
||||
this.lbl_2_3.Name = "lbl_2_3";
|
||||
this.lbl_2_3.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_3.TabIndex = 7;
|
||||
this.lbl_2_3.Text = "C";
|
||||
this.lbl_2_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_2
|
||||
//
|
||||
this.lbl_2_2.AutoSize = true;
|
||||
this.lbl_2_2.Location = new System.Drawing.Point(94, 51);
|
||||
this.lbl_2_2.Name = "lbl_2_2";
|
||||
this.lbl_2_2.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_2.TabIndex = 6;
|
||||
this.lbl_2_2.Text = "B";
|
||||
this.lbl_2_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_1
|
||||
//
|
||||
this.lbl_2_1.AutoSize = true;
|
||||
this.lbl_2_1.Location = new System.Drawing.Point(94, 24);
|
||||
this.lbl_2_1.Name = "lbl_2_1";
|
||||
this.lbl_2_1.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_1.TabIndex = 2;
|
||||
this.lbl_2_1.Text = "A";
|
||||
this.lbl_2_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// combo_2_4
|
||||
//
|
||||
this.combo_2_4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_4.FormattingEnabled = true;
|
||||
this.combo_2_4.Location = new System.Drawing.Point(114, 102);
|
||||
this.combo_2_4.Name = "combo_2_4";
|
||||
this.combo_2_4.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_4.TabIndex = 5;
|
||||
this.combo_2_4.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_3
|
||||
//
|
||||
this.combo_2_3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_3.FormattingEnabled = true;
|
||||
this.combo_2_3.Location = new System.Drawing.Point(114, 75);
|
||||
this.combo_2_3.Name = "combo_2_3";
|
||||
this.combo_2_3.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_3.TabIndex = 4;
|
||||
this.combo_2_3.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_2
|
||||
//
|
||||
this.combo_2_2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_2.FormattingEnabled = true;
|
||||
this.combo_2_2.Location = new System.Drawing.Point(114, 48);
|
||||
this.combo_2_2.Name = "combo_2_2";
|
||||
this.combo_2_2.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_2.TabIndex = 3;
|
||||
this.combo_2_2.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_1
|
||||
//
|
||||
this.combo_2_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_1.FormattingEnabled = true;
|
||||
this.combo_2_1.Location = new System.Drawing.Point(114, 21);
|
||||
this.combo_2_1.Name = "combo_2_1";
|
||||
this.combo_2_1.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_1.TabIndex = 2;
|
||||
this.combo_2_1.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// cbMemcard_2
|
||||
//
|
||||
this.cbMemcard_2.AutoSize = true;
|
||||
this.cbMemcard_2.Location = new System.Drawing.Point(18, 21);
|
||||
this.cbMemcard_2.Name = "cbMemcard_2";
|
||||
this.cbMemcard_2.Size = new System.Drawing.Size(70, 17);
|
||||
this.cbMemcard_2.TabIndex = 1;
|
||||
this.cbMemcard_2.Text = "Memcard";
|
||||
this.cbMemcard_2.UseVisualStyleBackColor = true;
|
||||
this.cbMemcard_2.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// cbMultitap_2
|
||||
//
|
||||
this.cbMultitap_2.AutoSize = true;
|
||||
this.cbMultitap_2.Location = new System.Drawing.Point(18, 43);
|
||||
this.cbMultitap_2.Name = "cbMultitap_2";
|
||||
this.cbMultitap_2.Size = new System.Drawing.Size(63, 17);
|
||||
this.cbMultitap_2.TabIndex = 0;
|
||||
this.cbMultitap_2.Text = "Multitap";
|
||||
this.cbMultitap_2.UseVisualStyleBackColor = true;
|
||||
this.cbMultitap_2.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// PSXControllerConfigNew
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(586, 201);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = global::BizHawk.Client.EmuHawk.Properties.Resources.GameController_MultiSize;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "PSXControllerConfig";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Controller / Memcard Configuration";
|
||||
this.Load += new System.EventHandler(this.PSXControllerConfigNew_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
this.cbMultitap_1 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.lbl_p_1_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_1_1 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_1_1 = new System.Windows.Forms.Label();
|
||||
this.combo_1_4 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_3 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_2 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_1_1 = new System.Windows.Forms.ComboBox();
|
||||
this.cbMemcard_1 = new System.Windows.Forms.CheckBox();
|
||||
this.btnOK = new System.Windows.Forms.Button();
|
||||
this.btnCancel = new System.Windows.Forms.Button();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.lbl_p_2_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_p_2_1 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_4 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_3 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_2 = new System.Windows.Forms.Label();
|
||||
this.lbl_2_1 = new System.Windows.Forms.Label();
|
||||
this.combo_2_4 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_3 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_2 = new System.Windows.Forms.ComboBox();
|
||||
this.combo_2_1 = new System.Windows.Forms.ComboBox();
|
||||
this.cbMemcard_2 = new System.Windows.Forms.CheckBox();
|
||||
this.cbMultitap_2 = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cbMultitap_1
|
||||
//
|
||||
this.cbMultitap_1.AutoSize = true;
|
||||
this.cbMultitap_1.Location = new System.Drawing.Point(18, 43);
|
||||
this.cbMultitap_1.Name = "cbMultitap_1";
|
||||
this.cbMultitap_1.Size = new System.Drawing.Size(63, 17);
|
||||
this.cbMultitap_1.TabIndex = 0;
|
||||
this.cbMultitap_1.Text = "Multitap";
|
||||
this.cbMultitap_1.UseVisualStyleBackColor = true;
|
||||
this.cbMultitap_1.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_4);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_3);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_2);
|
||||
this.groupBox1.Controls.Add(this.lbl_p_1_1);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_4);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_3);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_2);
|
||||
this.groupBox1.Controls.Add(this.lbl_1_1);
|
||||
this.groupBox1.Controls.Add(this.combo_1_4);
|
||||
this.groupBox1.Controls.Add(this.combo_1_3);
|
||||
this.groupBox1.Controls.Add(this.combo_1_2);
|
||||
this.groupBox1.Controls.Add(this.combo_1_1);
|
||||
this.groupBox1.Controls.Add(this.cbMemcard_1);
|
||||
this.groupBox1.Controls.Add(this.cbMultitap_1);
|
||||
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(273, 136);
|
||||
this.groupBox1.TabIndex = 1;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Port 1";
|
||||
//
|
||||
// lbl_p_1_4
|
||||
//
|
||||
this.lbl_p_1_4.AutoSize = true;
|
||||
this.lbl_p_1_4.Location = new System.Drawing.Point(241, 105);
|
||||
this.lbl_p_1_4.Name = "lbl_p_1_4";
|
||||
this.lbl_p_1_4.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_4.TabIndex = 12;
|
||||
this.lbl_p_1_4.Text = "P1";
|
||||
this.lbl_p_1_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_3
|
||||
//
|
||||
this.lbl_p_1_3.AutoSize = true;
|
||||
this.lbl_p_1_3.Location = new System.Drawing.Point(241, 78);
|
||||
this.lbl_p_1_3.Name = "lbl_p_1_3";
|
||||
this.lbl_p_1_3.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_3.TabIndex = 11;
|
||||
this.lbl_p_1_3.Text = "P1";
|
||||
this.lbl_p_1_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_2
|
||||
//
|
||||
this.lbl_p_1_2.AutoSize = true;
|
||||
this.lbl_p_1_2.Location = new System.Drawing.Point(241, 50);
|
||||
this.lbl_p_1_2.Name = "lbl_p_1_2";
|
||||
this.lbl_p_1_2.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_2.TabIndex = 10;
|
||||
this.lbl_p_1_2.Text = "P1";
|
||||
this.lbl_p_1_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_1_1
|
||||
//
|
||||
this.lbl_p_1_1.AutoSize = true;
|
||||
this.lbl_p_1_1.Location = new System.Drawing.Point(241, 24);
|
||||
this.lbl_p_1_1.Name = "lbl_p_1_1";
|
||||
this.lbl_p_1_1.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_1_1.TabIndex = 9;
|
||||
this.lbl_p_1_1.Text = "P1";
|
||||
this.lbl_p_1_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_4
|
||||
//
|
||||
this.lbl_1_4.AutoSize = true;
|
||||
this.lbl_1_4.Location = new System.Drawing.Point(94, 105);
|
||||
this.lbl_1_4.Name = "lbl_1_4";
|
||||
this.lbl_1_4.Size = new System.Drawing.Size(15, 13);
|
||||
this.lbl_1_4.TabIndex = 8;
|
||||
this.lbl_1_4.Text = "D";
|
||||
this.lbl_1_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_3
|
||||
//
|
||||
this.lbl_1_3.AutoSize = true;
|
||||
this.lbl_1_3.Location = new System.Drawing.Point(94, 78);
|
||||
this.lbl_1_3.Name = "lbl_1_3";
|
||||
this.lbl_1_3.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_3.TabIndex = 7;
|
||||
this.lbl_1_3.Text = "C";
|
||||
this.lbl_1_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_2
|
||||
//
|
||||
this.lbl_1_2.AutoSize = true;
|
||||
this.lbl_1_2.Location = new System.Drawing.Point(94, 51);
|
||||
this.lbl_1_2.Name = "lbl_1_2";
|
||||
this.lbl_1_2.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_2.TabIndex = 6;
|
||||
this.lbl_1_2.Text = "B";
|
||||
this.lbl_1_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_1_1
|
||||
//
|
||||
this.lbl_1_1.AutoSize = true;
|
||||
this.lbl_1_1.Location = new System.Drawing.Point(94, 24);
|
||||
this.lbl_1_1.Name = "lbl_1_1";
|
||||
this.lbl_1_1.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_1_1.TabIndex = 2;
|
||||
this.lbl_1_1.Text = "A";
|
||||
this.lbl_1_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// combo_1_4
|
||||
//
|
||||
this.combo_1_4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_4.FormattingEnabled = true;
|
||||
this.combo_1_4.Location = new System.Drawing.Point(114, 102);
|
||||
this.combo_1_4.Name = "combo_1_4";
|
||||
this.combo_1_4.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_4.TabIndex = 5;
|
||||
this.combo_1_4.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_3
|
||||
//
|
||||
this.combo_1_3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_3.FormattingEnabled = true;
|
||||
this.combo_1_3.Location = new System.Drawing.Point(114, 75);
|
||||
this.combo_1_3.Name = "combo_1_3";
|
||||
this.combo_1_3.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_3.TabIndex = 4;
|
||||
this.combo_1_3.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_2
|
||||
//
|
||||
this.combo_1_2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_2.FormattingEnabled = true;
|
||||
this.combo_1_2.Location = new System.Drawing.Point(114, 48);
|
||||
this.combo_1_2.Name = "combo_1_2";
|
||||
this.combo_1_2.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_2.TabIndex = 3;
|
||||
this.combo_1_2.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_1_1
|
||||
//
|
||||
this.combo_1_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_1_1.FormattingEnabled = true;
|
||||
this.combo_1_1.Location = new System.Drawing.Point(114, 21);
|
||||
this.combo_1_1.Name = "combo_1_1";
|
||||
this.combo_1_1.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_1_1.TabIndex = 2;
|
||||
this.combo_1_1.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// cbMemcard_1
|
||||
//
|
||||
this.cbMemcard_1.AutoSize = true;
|
||||
this.cbMemcard_1.Location = new System.Drawing.Point(18, 21);
|
||||
this.cbMemcard_1.Name = "cbMemcard_1";
|
||||
this.cbMemcard_1.Size = new System.Drawing.Size(70, 17);
|
||||
this.cbMemcard_1.TabIndex = 1;
|
||||
this.cbMemcard_1.Text = "Memcard";
|
||||
this.cbMemcard_1.UseVisualStyleBackColor = true;
|
||||
this.cbMemcard_1.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.btnOK.Location = new System.Drawing.Point(408, 163);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnOK.TabIndex = 2;
|
||||
this.btnOK.Text = "OK";
|
||||
this.btnOK.UseVisualStyleBackColor = true;
|
||||
this.btnOK.Click += new System.EventHandler(this.BtnOk_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(489, 163);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnCancel.TabIndex = 3;
|
||||
this.btnCancel.Text = "Cancel";
|
||||
this.btnCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_4);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_3);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_2);
|
||||
this.groupBox2.Controls.Add(this.lbl_p_2_1);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_4);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_3);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_2);
|
||||
this.groupBox2.Controls.Add(this.lbl_2_1);
|
||||
this.groupBox2.Controls.Add(this.combo_2_4);
|
||||
this.groupBox2.Controls.Add(this.combo_2_3);
|
||||
this.groupBox2.Controls.Add(this.combo_2_2);
|
||||
this.groupBox2.Controls.Add(this.combo_2_1);
|
||||
this.groupBox2.Controls.Add(this.cbMemcard_2);
|
||||
this.groupBox2.Controls.Add(this.cbMultitap_2);
|
||||
this.groupBox2.Location = new System.Drawing.Point(291, 12);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Size = new System.Drawing.Size(273, 136);
|
||||
this.groupBox2.TabIndex = 13;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "Port 2";
|
||||
//
|
||||
// lbl_p_2_4
|
||||
//
|
||||
this.lbl_p_2_4.AutoSize = true;
|
||||
this.lbl_p_2_4.Location = new System.Drawing.Point(241, 105);
|
||||
this.lbl_p_2_4.Name = "lbl_p_2_4";
|
||||
this.lbl_p_2_4.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_4.TabIndex = 12;
|
||||
this.lbl_p_2_4.Text = "P1";
|
||||
this.lbl_p_2_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_3
|
||||
//
|
||||
this.lbl_p_2_3.AutoSize = true;
|
||||
this.lbl_p_2_3.Location = new System.Drawing.Point(241, 78);
|
||||
this.lbl_p_2_3.Name = "lbl_p_2_3";
|
||||
this.lbl_p_2_3.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_3.TabIndex = 11;
|
||||
this.lbl_p_2_3.Text = "P1";
|
||||
this.lbl_p_2_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_2
|
||||
//
|
||||
this.lbl_p_2_2.AutoSize = true;
|
||||
this.lbl_p_2_2.Location = new System.Drawing.Point(241, 50);
|
||||
this.lbl_p_2_2.Name = "lbl_p_2_2";
|
||||
this.lbl_p_2_2.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_2.TabIndex = 10;
|
||||
this.lbl_p_2_2.Text = "P1";
|
||||
this.lbl_p_2_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_p_2_1
|
||||
//
|
||||
this.lbl_p_2_1.AutoSize = true;
|
||||
this.lbl_p_2_1.Location = new System.Drawing.Point(241, 24);
|
||||
this.lbl_p_2_1.Name = "lbl_p_2_1";
|
||||
this.lbl_p_2_1.Size = new System.Drawing.Size(20, 13);
|
||||
this.lbl_p_2_1.TabIndex = 9;
|
||||
this.lbl_p_2_1.Text = "P1";
|
||||
this.lbl_p_2_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_4
|
||||
//
|
||||
this.lbl_2_4.AutoSize = true;
|
||||
this.lbl_2_4.Location = new System.Drawing.Point(94, 105);
|
||||
this.lbl_2_4.Name = "lbl_2_4";
|
||||
this.lbl_2_4.Size = new System.Drawing.Size(15, 13);
|
||||
this.lbl_2_4.TabIndex = 8;
|
||||
this.lbl_2_4.Text = "D";
|
||||
this.lbl_2_4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_3
|
||||
//
|
||||
this.lbl_2_3.AutoSize = true;
|
||||
this.lbl_2_3.Location = new System.Drawing.Point(94, 78);
|
||||
this.lbl_2_3.Name = "lbl_2_3";
|
||||
this.lbl_2_3.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_3.TabIndex = 7;
|
||||
this.lbl_2_3.Text = "C";
|
||||
this.lbl_2_3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_2
|
||||
//
|
||||
this.lbl_2_2.AutoSize = true;
|
||||
this.lbl_2_2.Location = new System.Drawing.Point(94, 51);
|
||||
this.lbl_2_2.Name = "lbl_2_2";
|
||||
this.lbl_2_2.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_2.TabIndex = 6;
|
||||
this.lbl_2_2.Text = "B";
|
||||
this.lbl_2_2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// lbl_2_1
|
||||
//
|
||||
this.lbl_2_1.AutoSize = true;
|
||||
this.lbl_2_1.Location = new System.Drawing.Point(94, 24);
|
||||
this.lbl_2_1.Name = "lbl_2_1";
|
||||
this.lbl_2_1.Size = new System.Drawing.Size(14, 13);
|
||||
this.lbl_2_1.TabIndex = 2;
|
||||
this.lbl_2_1.Text = "A";
|
||||
this.lbl_2_1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// combo_2_4
|
||||
//
|
||||
this.combo_2_4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_4.FormattingEnabled = true;
|
||||
this.combo_2_4.Location = new System.Drawing.Point(114, 102);
|
||||
this.combo_2_4.Name = "combo_2_4";
|
||||
this.combo_2_4.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_4.TabIndex = 5;
|
||||
this.combo_2_4.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_3
|
||||
//
|
||||
this.combo_2_3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_3.FormattingEnabled = true;
|
||||
this.combo_2_3.Location = new System.Drawing.Point(114, 75);
|
||||
this.combo_2_3.Name = "combo_2_3";
|
||||
this.combo_2_3.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_3.TabIndex = 4;
|
||||
this.combo_2_3.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_2
|
||||
//
|
||||
this.combo_2_2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_2.FormattingEnabled = true;
|
||||
this.combo_2_2.Location = new System.Drawing.Point(114, 48);
|
||||
this.combo_2_2.Name = "combo_2_2";
|
||||
this.combo_2_2.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_2.TabIndex = 3;
|
||||
this.combo_2_2.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// combo_2_1
|
||||
//
|
||||
this.combo_2_1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.combo_2_1.FormattingEnabled = true;
|
||||
this.combo_2_1.Location = new System.Drawing.Point(114, 21);
|
||||
this.combo_2_1.Name = "combo_2_1";
|
||||
this.combo_2_1.Size = new System.Drawing.Size(121, 21);
|
||||
this.combo_2_1.TabIndex = 2;
|
||||
this.combo_2_1.SelectedIndexChanged += new System.EventHandler(this.Combo_SelectedIndexChanged);
|
||||
//
|
||||
// cbMemcard_2
|
||||
//
|
||||
this.cbMemcard_2.AutoSize = true;
|
||||
this.cbMemcard_2.Location = new System.Drawing.Point(18, 21);
|
||||
this.cbMemcard_2.Name = "cbMemcard_2";
|
||||
this.cbMemcard_2.Size = new System.Drawing.Size(70, 17);
|
||||
this.cbMemcard_2.TabIndex = 1;
|
||||
this.cbMemcard_2.Text = "Memcard";
|
||||
this.cbMemcard_2.UseVisualStyleBackColor = true;
|
||||
this.cbMemcard_2.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// cbMultitap_2
|
||||
//
|
||||
this.cbMultitap_2.AutoSize = true;
|
||||
this.cbMultitap_2.Location = new System.Drawing.Point(18, 43);
|
||||
this.cbMultitap_2.Name = "cbMultitap_2";
|
||||
this.cbMultitap_2.Size = new System.Drawing.Size(63, 17);
|
||||
this.cbMultitap_2.TabIndex = 0;
|
||||
this.cbMultitap_2.Text = "Multitap";
|
||||
this.cbMultitap_2.UseVisualStyleBackColor = true;
|
||||
this.cbMultitap_2.CheckedChanged += new System.EventHandler(this.Cb_Changed);
|
||||
//
|
||||
// PSXControllerConfigNew
|
||||
//
|
||||
this.AcceptButton = this.btnOK;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.btnCancel;
|
||||
this.ClientSize = new System.Drawing.Size(586, 201);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnOK);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Icon = global::BizHawk.Client.EmuHawk.Properties.Resources.GameController_MultiSize;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "PSXControllerConfig";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||
this.Text = "Controller / Memcard Configuration";
|
||||
this.Load += new System.EventHandler(this.PSXControllerConfigNew_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -475,6 +475,6 @@
|
|||
private System.Windows.Forms.ComboBox combo_2_2;
|
||||
private System.Windows.Forms.ComboBox combo_2_1;
|
||||
private System.Windows.Forms.CheckBox cbMemcard_2;
|
||||
private System.Windows.Forms.CheckBox cbMultitap_2;
|
||||
private System.Windows.Forms.CheckBox cbMultitap_2;
|
||||
}
|
||||
}
|
|
@ -1,146 +1,146 @@
|
|||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Emulation.Cores.Sony.PSX;
|
||||
using BizHawk.Client.Common;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class PSXControllerConfig : Form
|
||||
{
|
||||
private readonly MainForm _mainForm;
|
||||
private readonly Octoshock.SyncSettings _syncSettings;
|
||||
|
||||
public PSXControllerConfig(
|
||||
MainForm mainForm,
|
||||
Octoshock.SyncSettings syncSettings)
|
||||
{
|
||||
_mainForm = mainForm;
|
||||
_syncSettings = syncSettings;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void PSXControllerConfigNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
// populate combo boxes
|
||||
foreach (var combo in new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 })
|
||||
{
|
||||
combo.Items.Add("-Nothing-");
|
||||
combo.Items.Add("Gamepad");
|
||||
combo.Items.Add("Dual Shock");
|
||||
combo.Items.Add("Dual Analog");
|
||||
combo.Items.Add("neGcon");
|
||||
combo.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
GuiFromUserConfig(_syncSettings.FIOConfig);
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void GuiFromUserConfig(OctoshockFIOConfigUser user)
|
||||
{
|
||||
cbMemcard_1.Checked = user.Memcards[0];
|
||||
cbMemcard_2.Checked = user.Memcards[1];
|
||||
cbMultitap_1.Checked = user.Multitaps[0];
|
||||
cbMultitap_2.Checked = user.Multitaps[1];
|
||||
|
||||
var combos = new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var combo = combos[i];
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.None) combo.SelectedIndex = 0;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.Pad) combo.SelectedIndex = 1;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.DualShock) combo.SelectedIndex = 2;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.DualAnalog) combo.SelectedIndex = 3;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.NegCon) combo.SelectedIndex = 4;
|
||||
}
|
||||
}
|
||||
|
||||
private OctoshockFIOConfigUser UserConfigFromGui()
|
||||
{
|
||||
var uc = new OctoshockFIOConfigUser
|
||||
{
|
||||
Memcards = { [0] = cbMemcard_1.Checked, [1] = cbMemcard_2.Checked },
|
||||
Multitaps = { [0] = cbMultitap_1.Checked, [1] = cbMultitap_2.Checked }
|
||||
};
|
||||
|
||||
var combos = new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var combo = combos[i];
|
||||
if (combo.SelectedIndex == 0) uc.Devices8[i] = OctoshockDll.ePeripheralType.None;
|
||||
if (combo.SelectedIndex == 1) uc.Devices8[i] = OctoshockDll.ePeripheralType.Pad;
|
||||
if (combo.SelectedIndex == 2) uc.Devices8[i] = OctoshockDll.ePeripheralType.DualShock;
|
||||
if (combo.SelectedIndex == 3) uc.Devices8[i] = OctoshockDll.ePeripheralType.DualAnalog;
|
||||
if (combo.SelectedIndex == 4) uc.Devices8[i] = OctoshockDll.ePeripheralType.NegCon;
|
||||
}
|
||||
|
||||
return uc;
|
||||
}
|
||||
|
||||
private void RefreshLabels()
|
||||
{
|
||||
var uc = UserConfigFromGui();
|
||||
|
||||
bool b1 = uc.Multitaps[0];
|
||||
lbl_1_1.Visible = b1;
|
||||
lbl_1_2.Visible = b1;
|
||||
lbl_1_3.Visible = b1;
|
||||
lbl_1_4.Visible = b1;
|
||||
combo_1_2.Enabled = b1;
|
||||
combo_1_3.Enabled = b1;
|
||||
combo_1_4.Enabled = b1;
|
||||
lbl_p_1_2.Visible = b1;
|
||||
lbl_p_1_3.Visible = b1;
|
||||
lbl_p_1_4.Visible = b1;
|
||||
|
||||
bool b2 = uc.Multitaps[1];
|
||||
lbl_2_1.Visible = b2;
|
||||
lbl_2_2.Visible = b2;
|
||||
lbl_2_3.Visible = b2;
|
||||
lbl_2_4.Visible = b2;
|
||||
combo_2_2.Enabled = b2;
|
||||
combo_2_3.Enabled = b2;
|
||||
combo_2_4.Enabled = b2;
|
||||
lbl_p_2_2.Visible = b2;
|
||||
lbl_p_2_3.Visible = b2;
|
||||
lbl_p_2_4.Visible = b2;
|
||||
|
||||
var lc = uc.ToLogical();
|
||||
|
||||
var pLabels = new[] { lbl_p_1_1, lbl_p_1_2, lbl_p_1_3, lbl_p_1_4, lbl_p_2_1, lbl_p_2_2, lbl_p_2_3, lbl_p_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var lbl = pLabels[i];
|
||||
if (lc.PlayerAssignments[i] == -1)
|
||||
{
|
||||
lbl.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
lbl.Text = $"P{lc.PlayerAssignments[i]}";
|
||||
lbl.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Cb_Changed(object sender, EventArgs e)
|
||||
{
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void Combo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void BtnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
_syncSettings.FIOConfig = UserConfigFromGui();
|
||||
_mainForm.PutCoreSyncSettings(_syncSettings);
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Emulation.Cores.Sony.PSX;
|
||||
using BizHawk.Client.Common;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
public partial class PSXControllerConfig : Form
|
||||
{
|
||||
private readonly MainForm _mainForm;
|
||||
private readonly Octoshock.SyncSettings _syncSettings;
|
||||
|
||||
public PSXControllerConfig(
|
||||
MainForm mainForm,
|
||||
Octoshock.SyncSettings syncSettings)
|
||||
{
|
||||
_mainForm = mainForm;
|
||||
_syncSettings = syncSettings;
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void PSXControllerConfigNew_Load(object sender, EventArgs e)
|
||||
{
|
||||
// populate combo boxes
|
||||
foreach (var combo in new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 })
|
||||
{
|
||||
combo.Items.Add("-Nothing-");
|
||||
combo.Items.Add("Gamepad");
|
||||
combo.Items.Add("Dual Shock");
|
||||
combo.Items.Add("Dual Analog");
|
||||
combo.Items.Add("neGcon");
|
||||
combo.SelectedIndex = 0;
|
||||
}
|
||||
|
||||
GuiFromUserConfig(_syncSettings.FIOConfig);
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void GuiFromUserConfig(OctoshockFIOConfigUser user)
|
||||
{
|
||||
cbMemcard_1.Checked = user.Memcards[0];
|
||||
cbMemcard_2.Checked = user.Memcards[1];
|
||||
cbMultitap_1.Checked = user.Multitaps[0];
|
||||
cbMultitap_2.Checked = user.Multitaps[1];
|
||||
|
||||
var combos = new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var combo = combos[i];
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.None) combo.SelectedIndex = 0;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.Pad) combo.SelectedIndex = 1;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.DualShock) combo.SelectedIndex = 2;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.DualAnalog) combo.SelectedIndex = 3;
|
||||
if (user.Devices8[i] == OctoshockDll.ePeripheralType.NegCon) combo.SelectedIndex = 4;
|
||||
}
|
||||
}
|
||||
|
||||
private OctoshockFIOConfigUser UserConfigFromGui()
|
||||
{
|
||||
var uc = new OctoshockFIOConfigUser
|
||||
{
|
||||
Memcards = { [0] = cbMemcard_1.Checked, [1] = cbMemcard_2.Checked },
|
||||
Multitaps = { [0] = cbMultitap_1.Checked, [1] = cbMultitap_2.Checked }
|
||||
};
|
||||
|
||||
var combos = new[] { combo_1_1, combo_1_2, combo_1_3, combo_1_4, combo_2_1, combo_2_2, combo_2_3, combo_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var combo = combos[i];
|
||||
if (combo.SelectedIndex == 0) uc.Devices8[i] = OctoshockDll.ePeripheralType.None;
|
||||
if (combo.SelectedIndex == 1) uc.Devices8[i] = OctoshockDll.ePeripheralType.Pad;
|
||||
if (combo.SelectedIndex == 2) uc.Devices8[i] = OctoshockDll.ePeripheralType.DualShock;
|
||||
if (combo.SelectedIndex == 3) uc.Devices8[i] = OctoshockDll.ePeripheralType.DualAnalog;
|
||||
if (combo.SelectedIndex == 4) uc.Devices8[i] = OctoshockDll.ePeripheralType.NegCon;
|
||||
}
|
||||
|
||||
return uc;
|
||||
}
|
||||
|
||||
private void RefreshLabels()
|
||||
{
|
||||
var uc = UserConfigFromGui();
|
||||
|
||||
bool b1 = uc.Multitaps[0];
|
||||
lbl_1_1.Visible = b1;
|
||||
lbl_1_2.Visible = b1;
|
||||
lbl_1_3.Visible = b1;
|
||||
lbl_1_4.Visible = b1;
|
||||
combo_1_2.Enabled = b1;
|
||||
combo_1_3.Enabled = b1;
|
||||
combo_1_4.Enabled = b1;
|
||||
lbl_p_1_2.Visible = b1;
|
||||
lbl_p_1_3.Visible = b1;
|
||||
lbl_p_1_4.Visible = b1;
|
||||
|
||||
bool b2 = uc.Multitaps[1];
|
||||
lbl_2_1.Visible = b2;
|
||||
lbl_2_2.Visible = b2;
|
||||
lbl_2_3.Visible = b2;
|
||||
lbl_2_4.Visible = b2;
|
||||
combo_2_2.Enabled = b2;
|
||||
combo_2_3.Enabled = b2;
|
||||
combo_2_4.Enabled = b2;
|
||||
lbl_p_2_2.Visible = b2;
|
||||
lbl_p_2_3.Visible = b2;
|
||||
lbl_p_2_4.Visible = b2;
|
||||
|
||||
var lc = uc.ToLogical();
|
||||
|
||||
var pLabels = new[] { lbl_p_1_1, lbl_p_1_2, lbl_p_1_3, lbl_p_1_4, lbl_p_2_1, lbl_p_2_2, lbl_p_2_3, lbl_p_2_4 };
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
var lbl = pLabels[i];
|
||||
if (lc.PlayerAssignments[i] == -1)
|
||||
{
|
||||
lbl.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
lbl.Text = $"P{lc.PlayerAssignments[i]}";
|
||||
lbl.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void Cb_Changed(object sender, EventArgs e)
|
||||
{
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void Combo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
RefreshLabels();
|
||||
}
|
||||
|
||||
private void BtnOk_Click(object sender, EventArgs e)
|
||||
{
|
||||
_syncSettings.FIOConfig = UserConfigFromGui();
|
||||
_mainForm.PutCoreSyncSettings(_syncSettings);
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,120 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
Loading…
Reference in New Issue