private void Application_Startup(object sender, StartupEventArgs e) { File.Copy(e.Args[0] + ".dll", "Detector.dll", true); FGM = new FGModel(e.Args[0]); VCVM = new VideoControllerViewModel(new VideoControllerModel(FGM)); NVM = new NavigatorsViewModel(new NavigatorsModel(FGM)); GACVM = new GraphsAndCorrelationViewModel(new GraphsAndCorrelationModel(FGM)); MainWindow mw = new MainWindow(); mw.Show(); }
public VideoControllerModel(FGModel model) { Model = model; Model.PropertyChanged += TheModel_PropertyChanged; }
public GraphsAndCorrelationModel(FGModel model) { Model = model; Model.PropertyChanged += TheModel_PropertyChanged; }
public NavigatorsModel(FGModel model) { Model = model; Model.PropertyChanged += TheModel_PropertyChanged; }