Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle Simphony Extensibility - call opsContext methods from WPF control

Status
Not open for further replies.

Yusuf SRC

Programmer
Nov 2, 2022
11
0
0
TR
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.

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 ?

 
I mean, when a button is clicked from WPF, I need to run opsContext commands. Is there a way to do that ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top