Exemplo n.º 1
0
        private void ChooseHybrids_Click(object sender, RoutedEventArgs e)
        {
            Router.AddItem(new PurchasableItem("Tundra", 33675));
            TrucksEngineWindow newWindow = new TrucksEngineWindow();

            this.Close();
            newWindow.ShowDialog();
        }
Exemplo n.º 2
0
        private void ChooseCrossovers_Click(object sender, RoutedEventArgs e)
        {
            Router.AddItem(new PurchasableItem("Tacoma", 26150));
            TrucksEngineWindow newWindow = new TrucksEngineWindow();

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