Beispiel #1
0
        private void ChooseTrucks_Click(object sender, RoutedEventArgs e)
        {
            Router.AddItem(new PurchasableItem("Corolla", 19925));
            CarEngineWindow newWindow = new CarEngineWindow();

            this.Close();
            newWindow.ShowDialog();
        }
Beispiel #2
0
        private void ChooseCrossovers_Click(object sender, RoutedEventArgs e)
        {
            Router.AddItem(new PurchasableItem("Prius Prime", 28220));
            CarEngineWindow newWindow = new CarEngineWindow();

            this.Close();
            newWindow.ShowDialog();
        }
Beispiel #3
0
        private void ChooseHybrids_Click(object sender, RoutedEventArgs e)
        {
            //mirai
            Router.AddItem(new PurchasableItem("Mira", 49500));
            CarEngineWindow newWindow = new CarEngineWindow();

            this.Close();
            newWindow.ShowDialog();
        }