mirror of
https://github.com/tribufu/ServerGridEditor
synced 2026-05-06 15:17:35 +00:00
set AcceptButton and CancelButton for forms that have those controls (#29)
This commit is contained in:
parent
c8c4c54884
commit
8322467eeb
13 changed files with 48 additions and 13 deletions
|
|
@ -100,6 +100,7 @@
|
|||
//
|
||||
// cancelBtn
|
||||
//
|
||||
this.cancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.cancelBtn.Location = new System.Drawing.Point(182, 717);
|
||||
this.cancelBtn.Name = "cancelBtn";
|
||||
this.cancelBtn.Size = new System.Drawing.Size(96, 32);
|
||||
|
|
@ -565,8 +566,10 @@
|
|||
//
|
||||
// EditServerTemplate
|
||||
//
|
||||
this.AcceptButton = this.saveBtn;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.CancelButton = this.cancelBtn;
|
||||
this.ClientSize = new System.Drawing.Size(667, 770);
|
||||
this.Controls.Add(this.OceanEpicSpawnEntriesOverrideValuesTxtBox);
|
||||
this.Controls.Add(this.label1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue