Ejemplo n.º 1
0
 // Direct multiple instances
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs e)
 {
     if (e.CommandLine.Count > 0)
     {
         WpfApp.ProcessMessage(e.CommandLine[0]);
     }
 }
Ejemplo n.º 2
0
 // Direct multiple instances
 protected override void OnStartupNextInstance(
     Microsoft.VisualBasic.ApplicationServices.StartupNextInstanceEventArgs e)
 {
     if (e.CommandLine.Count > 0)
     {
         app.ProcessMessage(e.CommandLine[0]);
     }
 }