From 33c75fc8f25f909a1a54321543bc90983c6517ff Mon Sep 17 00:00:00 2001 From: Jaex Date: Thu, 10 Sep 2015 03:42:52 +0300 Subject: [PATCH] fixed #977: Blank space issue --- ShareX.HelpersLib/Forms/BaseForm.cs | 14 +------------- ShareX/Forms/ApplicationSettingsForm.cs | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/ShareX.HelpersLib/Forms/BaseForm.cs b/ShareX.HelpersLib/Forms/BaseForm.cs index 088a0cd38..c499879ab 100644 --- a/ShareX.HelpersLib/Forms/BaseForm.cs +++ b/ShareX.HelpersLib/Forms/BaseForm.cs @@ -23,28 +23,16 @@ #endregion License Information (GPL v3) -using System.Drawing; using System.Windows.Forms; namespace ShareX.HelpersLib { - public class BaseForm : Form + public abstract class BaseForm : Form { protected BaseForm() { - InitializeComponent(); - } - - private void InitializeComponent() - { - SuspendLayout(); - AutoScaleDimensions = new SizeF(6F, 13F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(300, 300); Icon = ShareXResources.Icon; - Name = "BaseForm"; Text = "ShareX"; - ResumeLayout(false); } } } \ No newline at end of file diff --git a/ShareX/Forms/ApplicationSettingsForm.cs b/ShareX/Forms/ApplicationSettingsForm.cs index cc81ed61e..2b45efa0a 100644 --- a/ShareX/Forms/ApplicationSettingsForm.cs +++ b/ShareX/Forms/ApplicationSettingsForm.cs @@ -365,7 +365,7 @@ private void cbSteamShowInApp_CheckedChanged(object sender, EventArgs e) File.Delete(path); } - MessageBox.Show("For settings to take effect ShareX need to be reopened from Steam.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("For settings to take effect ShareX needs to be reopened from Steam.", "ShareX", MessageBoxButtons.OK, MessageBoxIcon.Information); } }