예제 #1
0
        public DriversPage()
        {
            InitializeComponent();

            Loaded     += DriversPage_Loaded;
            DataContext = new DriversViewModel();
        }
예제 #2
0
 private void DriversPage_Loaded(object sender, RoutedEventArgs e)
 {
     DataContext = new DriversViewModel();
 }