Exemplo 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>());
 }
Exemplo n.º 2
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     // Subsequent launches
     base.OnStartupNextInstance(eventArgs);
     _commandLine = eventArgs.CommandLine;
     _application.Activate();
 }
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     base.OnStartupNextInstance(eventArgs);
     app.Activate();
 }
Exemplo n.º 4
0
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs eventArgs)
 {
     // Subsequent launches
     base.OnStartupNextInstance(eventArgs);
     app.Activate();
 }