Exemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            PointControlViewModel vm = DataContext as PointControlViewModel;

            vm.GetTeams();
        }
Exemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            PointControlViewModel vm = DataContext as PointControlViewModel;

            vm.SetPoint(dgTeam.SelectedItem as TeamViewModel);
        }
Exemplo n.º 3
0
 public PointControlView()
 {
     InitializeComponent();
     DataContext = new PointControlViewModel();
 }