Beispiel #1
0
        protected override bool OnStartup(StartupEventArgs e)
        {
            _app = new WpfApp();
            _app.Run();

            return(false);
        }
Beispiel #2
0
 // Direct multiple instances
 protected override void OnStartupNextInstance(StartupNextInstanceEventArgs e)
 {
     if (e.CommandLine.Count > 0)
     {
         WpfApp.ProcessMessage(e.CommandLine[0]);
     }
 }
Beispiel #3
0
        protected override bool OnStartup(
            Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e)
        {           
            app = new WpfApp();
            app.Run();

            return false;
        }
Beispiel #4
0
        protected override bool OnStartup(
            Microsoft.VisualBasic.ApplicationServices.StartupEventArgs e)
        {
            app = new WpfApp();
            app.Run();

            return(false);
        }