Beispiel #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()); });

            //You can use the following to load a context (for debugging purposes)
            args = ContextIO.ReadArgsFromFile(@"C:\Users\cwalker\Desktop\context.txt");
            //Might disable (uncomment) for plugin mode
            //bs.IsPatientSelectionEnabled = false;
            bs.Run(args);
        }
Beispiel #2
0
 protected override void OnStartup(StartupEventArgs e)
 {
     _args = e.Args;
     _args = ContextIO.ReadArgsFromFile(@"C:\Users\cwalker\Desktop\context.txt");
     base.OnStartup(e);
 }