fix up NDS settings dialog

This commit is contained in:
adelikat 2020-03-21 13:08:03 -05:00
parent 12c6878be1
commit 8161066632
2 changed files with 24 additions and 19 deletions

View File

@ -64,7 +64,8 @@
// btnCancel // btnCancel
// //
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.Location = new System.Drawing.Point(144, 175); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(163, 179);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(60, 23); this.btnCancel.Size = new System.Drawing.Size(60, 23);
this.btnCancel.TabIndex = 1; this.btnCancel.TabIndex = 1;
@ -75,7 +76,7 @@
// btnSave // btnSave
// //
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnSave.Location = new System.Drawing.Point(78, 175); this.btnSave.Location = new System.Drawing.Point(97, 179);
this.btnSave.Name = "btnSave"; this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(60, 23); this.btnSave.Size = new System.Drawing.Size(60, 23);
this.btnSave.TabIndex = 1; this.btnSave.TabIndex = 1;
@ -102,6 +103,8 @@
// //
// groupBox1 // groupBox1
// //
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.numBirthDay); this.groupBox1.Controls.Add(this.numBirthDay);
this.groupBox1.Controls.Add(this.numBirthMonth); this.groupBox1.Controls.Add(this.numBirthMonth);
this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label3);
@ -111,7 +114,7 @@
this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(12, 35); this.groupBox1.Location = new System.Drawing.Point(12, 35);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(192, 106); this.groupBox1.Size = new System.Drawing.Size(211, 110);
this.groupBox1.TabIndex = 4; this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false; this.groupBox1.TabStop = false;
this.groupBox1.Text = "Firmware settings"; this.groupBox1.Text = "Firmware settings";
@ -123,11 +126,6 @@
31, 31,
0, 0,
0, 0,
0});
this.numBirthDay.Minimum = new decimal(new int[] {
0,
0,
0,
0}); 0});
this.numBirthDay.Name = "numBirthDay"; this.numBirthDay.Name = "numBirthDay";
this.numBirthDay.Size = new System.Drawing.Size(36, 20); this.numBirthDay.Size = new System.Drawing.Size(36, 20);
@ -145,11 +143,6 @@
12, 12,
0, 0,
0, 0,
0});
this.numBirthMonth.Minimum = new decimal(new int[] {
0,
0,
0,
0}); 0});
this.numBirthMonth.Name = "numBirthMonth"; this.numBirthMonth.Name = "numBirthMonth";
this.numBirthMonth.Size = new System.Drawing.Size(36, 20); this.numBirthMonth.Size = new System.Drawing.Size(36, 20);
@ -207,7 +200,7 @@
// btnDefault // btnDefault
// //
this.btnDefault.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDefault.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnDefault.Location = new System.Drawing.Point(12, 175); this.btnDefault.Location = new System.Drawing.Point(31, 179);
this.btnDefault.Name = "btnDefault"; this.btnDefault.Name = "btnDefault";
this.btnDefault.Size = new System.Drawing.Size(60, 23); this.btnDefault.Size = new System.Drawing.Size(60, 23);
this.btnDefault.TabIndex = 1; this.btnDefault.TabIndex = 1;
@ -217,20 +210,22 @@
// //
// dtpStartupTime // dtpStartupTime
// //
this.dtpStartupTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dtpStartupTime.CustomFormat = "yyyy-MM-dd HH:mm:ss"; this.dtpStartupTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
this.dtpStartupTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtpStartupTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.dtpStartupTime.Location = new System.Drawing.Point(68, 147); this.dtpStartupTime.Location = new System.Drawing.Point(75, 151);
this.dtpStartupTime.MaxDate = new System.DateTime(2099, 12, 31, 23, 59, 59, 0); this.dtpStartupTime.MaxDate = new System.DateTime(2099, 12, 31, 23, 59, 59, 0);
this.dtpStartupTime.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); this.dtpStartupTime.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
this.dtpStartupTime.Name = "dtpStartupTime"; this.dtpStartupTime.Name = "dtpStartupTime";
this.dtpStartupTime.Size = new System.Drawing.Size(136, 20); this.dtpStartupTime.Size = new System.Drawing.Size(148, 20);
this.dtpStartupTime.TabIndex = 5; this.dtpStartupTime.TabIndex = 5;
this.dtpStartupTime.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); this.dtpStartupTime.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0);
// //
// label4 // label4
// //
this.label4.AutoSize = true; this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(12, 150); this.label4.Location = new System.Drawing.Point(12, 154);
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(57, 13); this.label4.Size = new System.Drawing.Size(57, 13);
this.label4.TabIndex = 6; this.label4.TabIndex = 6;
@ -238,9 +233,11 @@
// //
// NDSSettings // NDSSettings
// //
this.AcceptButton = this.btnDefault;
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.ClientSize = new System.Drawing.Size(216, 210); this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(235, 214);
this.Controls.Add(this.label4); this.Controls.Add(this.label4);
this.Controls.Add(this.dtpStartupTime); this.Controls.Add(this.dtpStartupTime);
this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBox1);
@ -248,8 +245,13 @@
this.Controls.Add(this.btnSave); this.Controls.Add(this.btnSave);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.Controls.Add(this.chkBootToFirmware); this.Controls.Add(this.chkBootToFirmware);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(251, 249);
this.Name = "NDSSettings"; this.Name = "NDSSettings";
this.Text = "NDSSettings"; this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "NDS Settings";
this.Load += new System.EventHandler(this.NDSSettings_Load); this.Load += new System.EventHandler(this.NDSSettings_Load);
this.groupBox1.ResumeLayout(false); this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout(); this.groupBox1.PerformLayout();

View File

@ -120,4 +120,7 @@
<metadata name="ttipFirmware.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ttipFirmware.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="ttipFirmware.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>