...
Add a button to the form and add the following code to itclick event handler:
Code Block |
---|
var provider = new DeltaShell.Plugins.OpenDA.DeltaShellOpenDAModelProvider(); provider.Initialize(@"D:\ODA", "settings.xml"); var instance = provider.CreateInstance(); provider.SaveInstance(instance); |
...