first of all thank you all for this incredible project!
I have built my very first custom graph data provider DLL but now I need user input via a dialog box before calling the TryGetGraphDataAsTemporaryFile .
Is this a limitation by design and what do I do next?
Sep 29, 2014 at 11:06 PM
you can add dialogs just like any other windows forms application. You can show the dialog you added to the project in the TryGetGraphDataAsTemporaryFile method. After the user has finished with the input and clicks OK (or any button), you then can continue
with the creation of the network and save it to a temporary file.
An example of the implementation of TryGetGraphDataAsTemporaryFile:
out string pathToTemporaryFile
pathToTemporaryFile = null;
//create and show the dialog
CustomDialog theDialog = new CustomDialog();
//this code will be executed after the dialog is closed
//TODO: create the network here
//File to save the created XML file
pathToTemporaryFile = System.IO.Path.GetTempFileName();
thank you somehow I thought that I couldn't use Windows form.
Now everything is fine!
Thanks for the speedy reply.