Changed text on OK button to all upper case, centered in PROMS window, made always on top, disabled sizing.
Fixed issue of Unit information not getting or saving from Config.
This commit is contained in:
+18
-9
@@ -46,8 +46,8 @@ namespace VEPROMS
|
|||||||
//
|
//
|
||||||
// tbChgId
|
// tbChgId
|
||||||
//
|
//
|
||||||
this.tbChgId.Location = new System.Drawing.Point(25, 41);
|
this.tbChgId.Location = new System.Drawing.Point(41, 41);
|
||||||
this.tbChgId.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
this.tbChgId.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.tbChgId.Name = "tbChgId";
|
this.tbChgId.Name = "tbChgId";
|
||||||
this.tbChgId.Size = new System.Drawing.Size(97, 20);
|
this.tbChgId.Size = new System.Drawing.Size(97, 20);
|
||||||
this.tbChgId.TabIndex = 1;
|
this.tbChgId.TabIndex = 1;
|
||||||
@@ -55,20 +55,20 @@ namespace VEPROMS
|
|||||||
// btnOk
|
// btnOk
|
||||||
//
|
//
|
||||||
this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
|
this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||||
this.btnOk.Location = new System.Drawing.Point(20, 76);
|
this.btnOk.Location = new System.Drawing.Point(25, 74);
|
||||||
this.btnOk.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
this.btnOk.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnOk.Name = "btnOk";
|
this.btnOk.Name = "btnOk";
|
||||||
this.btnOk.Size = new System.Drawing.Size(46, 24);
|
this.btnOk.Size = new System.Drawing.Size(46, 24);
|
||||||
this.btnOk.TabIndex = 2;
|
this.btnOk.TabIndex = 2;
|
||||||
this.btnOk.Text = "Ok";
|
this.btnOk.Text = "OK";
|
||||||
this.btnOk.UseVisualStyleBackColor = true;
|
this.btnOk.UseVisualStyleBackColor = true;
|
||||||
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
||||||
//
|
//
|
||||||
// btnCancel
|
// btnCancel
|
||||||
//
|
//
|
||||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||||
this.btnCancel.Location = new System.Drawing.Point(98, 76);
|
this.btnCancel.Location = new System.Drawing.Point(103, 74);
|
||||||
this.btnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.btnCancel.Name = "btnCancel";
|
this.btnCancel.Name = "btnCancel";
|
||||||
this.btnCancel.Size = new System.Drawing.Size(49, 24);
|
this.btnCancel.Size = new System.Drawing.Size(49, 24);
|
||||||
this.btnCancel.TabIndex = 3;
|
this.btnCancel.TabIndex = 3;
|
||||||
@@ -81,14 +81,23 @@ namespace VEPROMS
|
|||||||
this.AcceptButton = this.btnOk;
|
this.AcceptButton = this.btnOk;
|
||||||
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(260, 136);
|
this.CancelButton = this.btnCancel;
|
||||||
|
this.ClientSize = new System.Drawing.Size(186, 113);
|
||||||
|
this.ControlBox = false;
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
this.Controls.Add(this.btnOk);
|
this.Controls.Add(this.btnOk);
|
||||||
this.Controls.Add(this.tbChgId);
|
this.Controls.Add(this.tbChgId);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
this.Margin = new System.Windows.Forms.Padding(2);
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MaximumSize = new System.Drawing.Size(202, 152);
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(202, 152);
|
||||||
this.Name = "dlgChgId";
|
this.Name = "dlgChgId";
|
||||||
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||||||
this.Text = "PROMS Change Bar ID";
|
this.Text = "PROMS Change Bar ID";
|
||||||
|
this.TopMost = true;
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|||||||
+728
-694
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user