set AcceptButton and CancelButton for forms that have those controls (#29)

This commit is contained in:
Andrew DeLisa 2019-01-02 16:51:55 -05:00 committed by GrapeshotGames
parent c8c4c54884
commit 8322467eeb
13 changed files with 48 additions and 13 deletions

View file

@ -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);