Example #1
0
 private void button_add_trip(object sender, MouseButtonEventArgs e)
 {
     DataContext  = new AddTripUserControl();
     this.Content = new AddTripUserControl();
 }
 private void editClick(object sender, MouseButtonEventArgs e)
 {
     DataContext  = new AddTripUserControl(MaCD);
     this.Content = new AddTripUserControl(MaCD);
 }