I have a WPF project (WpfControlLibrary1) in the same solution with my extensibility application. And I added reference to that WPF project from the extensibility class. I can fire up this WPF with window.ShowDialog() method like this code.
What I need is to run some extensibility methods from the extensibility app like;
So how can I run these opsContext commands from the WPF control ?
Code:
using WpfControlLibrary1;
Window window = new Window
{
Title = "My User Control Dialog",
Content = new WpfControlLibrary1.UserControl1()
};
window.ShowDialog();
What I need is to run some extensibility methods from the extensibility app like;
Code:
OpsContext.ShowMessage() or OpsContext.ProcessCommand(cmd);
So how can I run these opsContext commands from the WPF control ?