Beispiel #1
0
        public void PopulateCheckingList()
        {
            MyAgle = Agle.Agle.GetAgleInstance;

            // Checking Modules needed
            MyAgle.CheckingModule();
        }
        public void PopulateCheckingList()
        {
            MyAgle = Agle.Agle.GetAgleInstance;

            // Checking Modules needed
            MyAgle.CheckingModule();
        }
Beispiel #3
0
        public AglePageViewModel()
        {
            this.MyAgle = Agle.Agle.GetAgleInstance;
            /*------------------------wire Agle related event------------------------*/
            this.MyAgle.ImageSourceUpdate += this.OnImageSourceUpdated;
            this.MyAgle.FPSUpdate         += this.OnFPSUpdated;
            this.MyAgle.AgleViewUpdate    += this.OnAgleViewUpdated;
            this.MyAgle.AgleInfoUpdate    += this.OnInfoUpdated;

            /*-------------------------create all kinds of view model--------------------*/
            this.infoPanelVM            = new InfoPanelViewModel();
            this.mainMenuVM             = new MainMenuViewModel();
            this.mainMenuVM.ChangeView += this.OnViewChanged;
            //this.controlPanelVM = new ControlPanelViewModel();
            //this.viewMenuVM = new ViewMenuViewModel();
        }
Beispiel #4
0
        public AglePageViewModel()
        {
            this.MyAgle = Agle.Agle.GetAgleInstance;
            /*------------------------wire Agle related event------------------------*/
            this.MyAgle.ImageSourceUpdate += this.OnImageSourceUpdated;
            this.MyAgle.FPSUpdate += this.OnFPSUpdated;
            this.MyAgle.AgleViewUpdate += this.OnAgleViewUpdated;
            this.MyAgle.AgleInfoUpdate += this.OnInfoUpdated;

            /*-------------------------create all kinds of view model--------------------*/
            this.infoPanelVM = new InfoPanelViewModel();
            this.mainMenuVM = new MainMenuViewModel();
            this.mainMenuVM.ChangeView += this.OnViewChanged;
            //this.controlPanelVM = new ControlPanelViewModel();
            //this.viewMenuVM = new ViewMenuViewModel();
        }