I have a Flowchart which invokes a series of Sequences. In each of the Sequences there are several message boxes that will pop-up as the workflow executes.
What I would like to do is show the Sequence/.xaml file name at the top of the message box.
I tried using the following, but it returns the Folder name in which the file resides:
System.IO.Directory.GetCurrentDirectory.Substring(System.IO.Directory.GetCurrentDirectory.LastIndexOf("\") + 1)
How can I modify this so I can get the .xaml file name of the currently running Sequence?