Exemple #1
0
        public ShellViewModel()
        {
            AppDomain appDomain = AppDomain.CurrentDomain;

            appDomain.UnhandledException += new UnhandledExceptionEventHandler(ShutDown);
            EventAggregationProvider.EventAggregator.Subscribe(this);
            ActivateItem(new FileTabViewModel());
            CamWindowViewModel = new CamWindowViewModel();

            httpRequestClient = HttpRequestClient.Instance();
        }
Exemple #2
0
 public CamWindowViewModel()
 {
     EventAggregationProvider.EventAggregator.Subscribe(this);
     httpRequestClient = HttpRequestClient.Instance();
 }