Click or drag to resize

DIMcDyeEventsBeforeSave Method

Event fired before the dye collection is saved by McDyes.Save.

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

Parameters

FilePath
Type: SystemObject
bCancel
Type: SystemBoolean
If assigned True by the event handler, then the save will be cancelled.
Remarks
This event could be used to display a "Save Dyes As" dialog. When the save is completed successfully, a PropertyChanged event will be fired indicating a change to the collection's Modified property (which is cleared after a Save).
See Also