From f1522aaf77b7dbd426e471b1d441df3809178f41 Mon Sep 17 00:00:00 2001 From: evilpro Date: Thu, 11 May 2017 12:22:42 +0200 Subject: [PATCH] Refine settings window buttons --- Taskplay/SettingsForm.Designer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Taskplay/SettingsForm.Designer.cs b/Taskplay/SettingsForm.Designer.cs index b6da4a7..921d87e 100644 --- a/Taskplay/SettingsForm.Designer.cs +++ b/Taskplay/SettingsForm.Designer.cs @@ -157,6 +157,7 @@ private void InitializeComponent() // // buttonCancel // + this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.Location = new System.Drawing.Point(154, 192); this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Size = new System.Drawing.Size(75, 23); @@ -177,8 +178,10 @@ private void InitializeComponent() // // SettingsForm // + this.AcceptButton = this.buttonOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.buttonCancel; this.ClientSize = new System.Drawing.Size(315, 220); this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonCancel);