fixed #977: Blank space issue

This commit is contained in:
Jaex 2015-09-10 03:42:52 +03:00
parent cba52f00f4
commit 33c75fc8f2
2 changed files with 2 additions and 14 deletions

View file

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

View file

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