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:
jjenko committed 2014-05-21 18:54:29 +00:00
1 parent 38a05ec657
commit c116a586fe
2 files changed
+746 -703

No files matched your search

+18 -9
View File
@@ -46,8 +46,8 @@ namespace VEPROMS
//
// tbChgId
//
this.tbChgId.Location = new System.Drawing.Point(25, 41);
this.tbChgId.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbChgId.Location = new System.Drawing.Point(41, 41);
this.tbChgId.Margin = new System.Windows.Forms.Padding(2);
this.tbChgId.Name = "tbChgId";
this.tbChgId.Size = new System.Drawing.Size(97, 20);
this.tbChgId.TabIndex = 1;
@@ -55,20 +55,20 @@ namespace VEPROMS
// btnOk
//
this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
this.btnOk.Location = new System.Drawing.Point(20, 76);
this.btnOk.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnOk.Location = new System.Drawing.Point(25, 74);
this.btnOk.Margin = new System.Windows.Forms.Padding(2);
this.btnOk.Name = "btnOk";
this.btnOk.Size = new System.Drawing.Size(46, 24);
this.btnOk.TabIndex = 2;
this.btnOk.Text = "Ok";
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(98, 76);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnCancel.Location = new System.Drawing.Point(103, 74);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(49, 24);
this.btnCancel.TabIndex = 3;
@@ -81,14 +81,23 @@ namespace VEPROMS
this.AcceptButton = this.btnOk;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
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.btnOk);
this.Controls.Add(this.tbChgId);
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.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "PROMS Change Bar ID";
this.TopMost = true;
this.ResumeLayout(false);
this.PerformLayout();
File diff suppressed because it is too large. Load diff