예제 #1
0
 public AddCar()
 {
     InitializeComponent();
     comboDriver.ItemsSource = DriverSql.GetDrivers();
     edit        = new Car();
     DataContext = edit;
 }
예제 #2
0
 public AddCar(Car edit)
 {
     InitializeComponent();
     comboDriver.ItemsSource = DriverSql.GetDrivers();
     this.edit   = edit;
     DataContext = edit;
 }
예제 #3
0
 public AddRequest(Request edit)
 {
     InitializeComponent();
     comboDriver.ItemsSource = DriverSql.GetDrivers();
     comboCar.ItemsSource    = CarSql.GetCars();
     this.edit   = edit;
     DataContext = edit;
 }