Click or drag to resize

dialogsopenSelectFile Method

Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Opens dialog to select file of extension

Namespace:  imbACE.Services.terminal.dialogs
Assembly:  imbACE.Services (in imbACE.Services.dll) Version: 0.2
Syntax
C#
public static string openSelectFile(
	dialogSelectFileMode __mode,
	string extension = "*.*",
	string startPath = "",
	string comment = "",
	dialogStyle style = dialogStyle.redDialog,
	dialogSize size = dialogSize.fullScreenBox
)
Request Example View Source

Parameters

__mode
Type: imbACE.Services.textBlocks.smartdialogSelectFileMode
Dialog mode
extension (Optional)
Type: SystemString
The extension to filter files to
startPath (Optional)
Type: SystemString
Initial file or directory to start selection from
comment (Optional)
Type: SystemString
Aditional explanation
style (Optional)
Type: imbACE.Services.terminal.dialogs.coredialogStyle
The style.
size (Optional)
Type: imbACE.Services.terminal.dialogsdialogSize
The size.

Return Value

Type: String
Selected path
See Also