Пример #1
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     WheelViewModel     = new WheelVM(SimulatorModel);
     DashboardViewModel = new DashboardVM(SimulatorModel);
     GameMapViewModel   = new GameMapVM(SimulatorModel);
     ExceptionViewModel = new ExceptionVM(SimulatorModel);
 }
Пример #2
0
        private void UIElement_OnRightTapped(object sender, RightTappedRoutedEventArgs e)
        {
            GameMapVM theNode = ((Button)sender).CommandParameter as GameMapVM;

            theNode.IsMarked = true;
        }