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(); }
private void menu_Copy_Click(object sender, RoutedEventArgs e) { tempCar = new Car(SortedCarList[selectedCar]); }
private void menu_Copy_Click(object sender, RoutedEventArgs e) { tempCar = new Car(SortedCarList[selectedCar]); }