Click or drag to resize

DIMcDyeEventsBeforeOpen Method

Event fired before the dye collection is opened by McDyes.Open.

Namespace:  MediaCy.IQL.Microscopy.Info
Assembly:  MediaCy.IQL.Microscopy.Info (in MediaCy.IQL.Microscopy.Info.dll) Version: 10.0.6912.0
Syntax
VB
Sub BeforeOpen ( 
	FileName As Object,
	<OutAttribute> ByRef bCancel As Boolean
)

Parameters

FileName
Type: SystemObject
bCancel
Type: SystemBoolean
If assigned True by the event handler, then the open will be cancelled.
Remarks
This event could be used to display a "Open Dyes" dialog. When the open is complete, if at least one dye has been added to the collection, a PropertyChanged event will be fired indicating a change to the collection's Count property.
See Also