public DBLoadBackgroundWorker(string dbName, IDatabaseConnector dbConnector, ConnectionPageViewModel viewModel)
            : base()
        {
            this.viewModel = viewModel;
            this.dbName = dbName;
            this.dbConnector = dbConnector;

            this.DoWork += DBBackgroundWorker_DoWork;
            this.RunWorkerCompleted += DBBackgroundWorker_RunWorkerCompleted;
        }
        public DBLoadBackgroundWorker(string dbName, IDatabaseConnector dbConnector, ConnectionPageViewModel viewModel)
            : base()
        {
            this.viewModel   = viewModel;
            this.dbName      = dbName;
            this.dbConnector = dbConnector;

            this.DoWork             += DBBackgroundWorker_DoWork;
            this.RunWorkerCompleted += DBBackgroundWorker_RunWorkerCompleted;
        }
 public WizardViewModel()
 {
     connectionPageViewModel = new ConnectionPageViewModel(this);
     mappingPageViewModel = new MappingPageViewModel(this);
     importPageViewModel = new ImportPageViewModel(this);
 }
Пример #4
0
 public WizardViewModel()
 {
     connectionPageViewModel = new ConnectionPageViewModel(this);
     mappingPageViewModel    = new MappingPageViewModel(this);
     importPageViewModel     = new ImportPageViewModel(this);
 }