Ejemplo n.º 1
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     // Subsequent launches
     base.OnStartupNextInstance(eventArgs);
     //MessageBox.Show("Event arguments:"+ eventArgs.ToString());
     app.Activate(eventArgs.CommandLine.ToArray <string>());
 }
Ejemplo n.º 2
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     // Subsequent launches
     base.OnStartupNextInstance(eventArgs);
     _commandLine = eventArgs.CommandLine;
     _application.Activate();
 }
Ejemplo n.º 3
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     base.OnStartupNextInstance(eventArgs);
     app.Activate();
 }
Ejemplo n.º 4
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     // Subsequent launches
     base.OnStartupNextInstance(eventArgs);
     app.Activate();
 }