Order of events in ThumbNail Viewers

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
dcp
Posts: 1
Joined: Wed Oct 22, 2008 8:09 pm

Order of events in ThumbNail Viewers

Post by dcp »

There are a number of standard Windows events which are available in the ThumbnailViewer.
e.g. MouseDown, Click, DoubleClick, MouseClick, MouseDoubleClick etc.

However, when a thumbnail is clicked, VintasoftImaging library automatically updates the displayed image in an ImageViewer. This is separate from any code in these events.

When does the built-in VintasoftImaging functionality function in the order of these events?
i.e. which events come before Vintasoft Imaging updates the imageViewer, and which ones occur afterwards?
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Order of events in ThumbNail Viewers

Post by Alex »

Hello,

Here is a list of main events:
1. ImageCollection.CollectionChanging event occurs while the ImageCollection is changing because of image(s) being added or removed, images being swapped.
2. ImageCollection.CollectionChanged event occurs after the ImageCollection is changed because of image(s) being added or removed, images being swapped.
3. ImageViewerBase.FocusedIndexChanged event occurs when the ImageViewerBase.FocusedIndex is changed.

Please read about events in documentation.

Best regards, Alexander
Post Reply