Set Control.Commands(CommandManager).Commands(DynamicDictionaryIScriptCommand)
UIScriptCommands.SetScriptCommand("{FileList}", "Open", 
    UIScriptCommands.FileListAssignSelection("{Selection}",
        UIScriptCommands.MessageBoxOK("SetScriptCommand", "Double clicked {Selection.Length} items")), 
    UIScriptCommands.MessageBoxOK("SetScriptCommand", "Open Command overrided, now try doubleclick an item.")) }, 

SetScriptCommand.cs

Last edited Oct 29, 2014 at 8:32 AM by lycj, version 1

Comments

No comments yet.