Add movement and resize capabilities to the Thumbnail windows in borderless mode

This commit is contained in:
Anton Kasyanov
2016-08-12 22:06:38 +03:00
parent 35e4a9db01
commit ae071a9a1c
6 changed files with 124 additions and 49 deletions

View File

@@ -33,9 +33,11 @@ namespace EveOPreview.UI
this.ShowInTaskbar = false;
this.Text = "Preview";
this.TopMost = true;
this.MouseLeave += new System.EventHandler(this.LostFocus_Handler);
this.MouseHover += new System.EventHandler(this.Focused_Handler);
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ThumbnailActivated_Handler);
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.MouseDown_Handler);
this.MouseLeave += new System.EventHandler(this.MouseLeave_Handler);
this.MouseEnter += new System.EventHandler(this.MouseEnter_Handler);
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.MouseMove_Handler);
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MouseUp_Handler);
this.Move += new System.EventHandler(this.Move_Handler);
this.Resize += new System.EventHandler(this.Resize_Handler);
this.ResumeLayout(false);