This commit is made due to BUG-1775. Although it might not fix it, it ensures that every window has an icon and only than when it loaded. Also added improved error handling.

This commit is contained in:
Robin 2015-04-17 11:06:57 +02:00
parent eed5b66116
commit 7938ab5dad
29 changed files with 32 additions and 34 deletions

View file

@ -61,7 +61,7 @@ namespace Greenshot.Forms {
this.Cursor = System.Windows.Forms.Cursors.Cross;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "CaptureForm";
this.ShowIcon = false;
this.ShowIcon = true;
this.ShowInTaskbar = false;
this.TopMost = true;
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CaptureFormKeyDown);