Also clicking thumbnail panel will open fullscreen preview

This commit is contained in:
Jaex 2019-05-13 00:44:21 +03:00
parent d592b5f390
commit 988b4568f3
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,7 @@ private void InitializeComponent()
this.pThumbnail.Radius = 5F;
this.pThumbnail.Size = new System.Drawing.Size(256, 256);
this.pThumbnail.TabIndex = 0;
this.pThumbnail.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PbThumbnail_MouseDown);
//
// pbProgress
//

View file

@ -179,7 +179,7 @@ public void UpdateThumbnail()
ThumbnailImage = ImageHelpers.ResizeImage(img, ThumbnailSize, false);
pbThumbnail.Image = ThumbnailImage;
ThumbnailSourceFilePath = filePath;
pbThumbnail.Cursor = Cursors.Hand;
pbThumbnail.Cursor = pThumbnail.Cursor = Cursors.Hand;
}
}
}