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);
 }