Serializable, Uses MessageBox.Show() to show a messagebox and store result to DestinationKey as string.

IScriptCommand messageBoxCommand = 
  UIScriptCommands.MessageBoxYesNo("Header", "{Date} is Holiday?", "{Result}",     
	  ScriptCommands.PrintDebug("Rest"), 
	  ScriptCommands.PrintDebug("Work"));
	  
await ScriptRunner.RunScriptAsync(new ParameterDic() { 
                { "Date", DateTime.Now },				
            }, messageBoxCommand); 


Output :
Rest

MessageBoxShow.cs

Last edited Oct 29, 2014 at 8:10 AM by lycj, version 3

Comments

No comments yet.