I open WPF application “A” via protocol from another WPF application “B”, I can handle this event in application “B”, using for example as in this code
but it is triggered only on the first call of the opening event via protocol, I need that after the application has been opened via protocol and remains open that this event handler is triggered the next times.
C#:
if (activatedEventArgs != null)
{
app.OnProtocolActivated(activatedEventArgs);
}
but it is triggered only on the first call of the opening event via protocol, I need that after the application has been opened via protocol and remains open that this event handler is triggered the next times.