コード例 #1
0
 private void menu_Cut_Click(object sender, RoutedEventArgs e)
 {
     //let tempCar be equal to new instance of a car, with an object passed to a constructor
     tempCar = new Car( SortedCarList[selectedCar] );
     SortedCarList.RemoveAt(selectedCar);
     updateContext();
 }
コード例 #2
0
 private void menu_Copy_Click(object sender, RoutedEventArgs e)
 {
     tempCar = new Car(SortedCarList[selectedCar]);
 }
コード例 #3
0
 private void menu_Copy_Click(object sender, RoutedEventArgs e)
 {
     tempCar = new Car(SortedCarList[selectedCar]);
 }