public static void OpenToolDialog( string toolPath, IEnumerable<string> values, IEnumerable<KeyValuePair<string,string>> environments, bool newSubPane, GPToolExecuteEventHandler callback )
Public Shared Sub OpenToolDialog( _ ByVal toolPath As String, _ ByVal values As IEnumerable(Of String), _ Optional ByVal environments As IEnumerable(Of KeyValuePair(Of String,String)), _ Optional ByVal newSubPane As Boolean, _ Optional ByVal callback As GPToolExecuteEventHandler _ )
Parameters
- toolPath
- Use toolboxalias.toolname, toolname_toolboxalias pattern or full path
- values
- Array of parameter values
- environments
- Array of environment settings (name,value)
- newSubPane
- Add ToolDialog as new sub-pane
- callback
- callback events are:
- OnBeginExecute - param = null. Can be sent miltiple times if user re-run the same tool
- OnEndExecute - param type IGPResult. Can be sent miltiple times if user re-run the same tool
- OnClose - param = null, send when user click back or open new tool in the same sub-pane