Ejemplo n.º 1
0
        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 VideoController()
 {
     mv          = (Application.Current as App).VCVM;
     DataContext = mv;
     InitializeComponent();
 }