←Select platform

OnAddFile Method

Summary

Raises the AddFile event.

Syntax

C#
VB
C++
protected virtual void OnAddFile(  
   Leadtools.Winforms.RasterThumbnailBrowserAddFileEventArgs e 
) 
Protected Overridable Sub OnAddFile( _ 
   ByVal e As Leadtools.Winforms.RasterThumbnailBrowserAddFileEventArgs _ 
) 
protected: 
virtual void OnAddFile(  
   Leadtools.Winforms.RasterThumbnailBrowserAddFileEventArgs^ e 
) 

Parameters

e
An RasterThumbnailBrowserAddFileEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

The OnAddFile method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors: When overriding OnAddFile in a derived class, be sure to call the base class's OnFinishedLoadingThumbnails method so that registered delegates receive the event.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize