Autofire Config - minimum values should be 1 not 0

This commit is contained in:
andres.delikat 2011-08-10 00:13:07 +00:00
parent abf7d24106
commit 852c37d63b
1 changed files with 21 additions and 1 deletions

View File

@ -71,10 +71,20 @@
512, 512,
0, 0,
0, 0,
0});
this.OnNumeric.Minimum = new decimal(new int[] {
1,
0,
0,
0}); 0});
this.OnNumeric.Name = "OnNumeric"; this.OnNumeric.Name = "OnNumeric";
this.OnNumeric.Size = new System.Drawing.Size(74, 20); this.OnNumeric.Size = new System.Drawing.Size(74, 20);
this.OnNumeric.TabIndex = 2; this.OnNumeric.TabIndex = 2;
this.OnNumeric.Value = new decimal(new int[] {
1,
0,
0,
0});
// //
// OffNumeric // OffNumeric
// //
@ -83,10 +93,20 @@
512, 512,
0, 0,
0, 0,
0});
this.OffNumeric.Minimum = new decimal(new int[] {
1,
0,
0,
0}); 0});
this.OffNumeric.Name = "OffNumeric"; this.OffNumeric.Name = "OffNumeric";
this.OffNumeric.Size = new System.Drawing.Size(74, 20); this.OffNumeric.Size = new System.Drawing.Size(74, 20);
this.OffNumeric.TabIndex = 3; this.OffNumeric.TabIndex = 3;
this.OffNumeric.Value = new decimal(new int[] {
1,
0,
0,
0});
// //
// label1 // label1
// //
@ -145,10 +165,10 @@
private System.Windows.Forms.Button Ok; private System.Windows.Forms.Button Ok;
private System.Windows.Forms.Button Cancel; private System.Windows.Forms.Button Cancel;
private System.Windows.Forms.NumericUpDown OnNumeric;
private System.Windows.Forms.NumericUpDown OffNumeric; private System.Windows.Forms.NumericUpDown OffNumeric;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox1;
public System.Windows.Forms.NumericUpDown OnNumeric;
} }
} }