/*
  * Constructor of VMGraphs.
  */
 public VMGraphs(GraphsModel graphsModel)
 {
     _graphsModel = graphsModel;
     _graphsModel.PropertyChanged +=
         delegate(Object sender, PropertyChangedEventArgs e)
     {
         INotifyPropertyChanged("VM_" + e.PropertyName);
     };
 }
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            _algorithmDll           = new DllAlgorithms();
            _graphModel             = new GraphsModel();
            _vmGraphs               = new VMGraphs(_graphModel);
            _filesUpload            = new FilesUpload();
            _popOutModel            = new PopOutModel();
            _simultorConnectorModel = new SimulatorConnectorModel();
            _dashBoardModel         = new DashBoardModel();
            _joystickModel          = new JoystickModel();
            _joystickDashBoardModel = new JoystickDashBoardModel();
            _sliderModel            = new SliderModel(_simultorConnectorModel);
            _algoritemDetectModel   = new AlgoritemDetectModel();
            // Create main application window
            MainWindow mainWindow = new MainWindow();

            mainWindow.Show();
        }