Files
git-tfs/GitTfs.VsCommon/ParentForm.cs
T
2014-02-06 15:35:03 +04:00

28 lines
688 B
C#

using System;
using System.Drawing;
using System.Windows.Forms;
namespace Sep.Git.Tfs.VsCommon
{
public class ParentForm : Form
{
public ParentForm()
{
WindowState = FormWindowState.Minimized;
ShowInTaskbar = true;
ShowIcon = false;
FormBorderStyle = FormBorderStyle.None;
StartPosition = FormStartPosition.CenterParent;
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
WindowState = FormWindowState.Normal;
CenterToParent();
Text = "Checkin tool (git-tfs)";
Size = new Size(0, 0);
}
}
}