public void PopulateCheckingList() { MyAgle = Agle.Agle.GetAgleInstance; // Checking Modules needed MyAgle.CheckingModule(); }
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(); }