Esempio n. 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            string[] args = e.Args;
            base.OnStartup(e);
            var bs = new AppBootstrapper <MainView>(() => { return(VMS.TPS.Common.Model.API.Application.CreateApplication()); });

            //args = ContextIO.ReadArgsFromFile(@"context.txt");
            bs.Run(args);
        }
Esempio n. 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            string[] args = e.Args;
            base.OnStartup(e);
            var bs = new AppBootstrapper <MainView>(() => { return(VMS.TPS.Common.Model.API.Application.CreateApplication()); });

            //You can use the following to load a context (for debugging purposes)
            //args = ContextIO.ReadArgsFromFile(@"context.txt");
            //Might disable (uncomment) for plugin mode
            //bs.IsPatientSelectionEnabled = false;
            bs.Run(args);
        }