Fix for visible mainform

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@769 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2010-08-03 13:57:09 +00:00
commit 6ee7ec078e

View file

@ -217,7 +217,8 @@ namespace Greenshot {
this.Name = "MainForm"; this.Name = "MainForm";
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.Text = "Greenshot"; this.Text = "Greenshot";
this.TopMost = true; this.ShowIcon = false;
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing);
this.Activated += new System.EventHandler(this.MainFormActivated); this.Activated += new System.EventHandler(this.MainFormActivated);
this.contextMenu.ResumeLayout(false); this.contextMenu.ResumeLayout(false);