rangasamy007:1.How to Add a double click event (in Thumbnail image) on Thumbnail viewer control.
You simply wire up your Thumbnail Viewer to the existing DoubleClick event by:
- Selecting the Thumbnail Viewer control in design mode
- Opening the Event list in the Properties grid
- Double clicking the DoubleClick event
Doing this will create a default event for you similar to this:
private void thumbNail1_DoubleClick(object sender, EventArgs e)
{
System.Diagnostics.Debug.WriteLine("thumbNail1_DoubleClick fired!");
}
I added the WriteLine call for you to see when it fires. However, you'll have to add the code we discussed previously with respect to how to determine if you are clicking on or double clicking on a Thumbnail. See some of your other posts for code on how to do that.