Beispiel #1
0
        private void Voiture_MouseLeftButton(object sender, MouseButtonEventArgs e)
        {
            Image myImage = sender as Image;

            if (myImage != null)
            {
                MessageBox.Show(myImage.Name + " selectionnée");
                var gamestart = new Game_Car(this);
                gamestart.VoitureGame.Source = myImage.Source;
                Panel.SetZIndex(gamestart.VoitureGame, 100);
                gamestart.Show();
                this.Hide();
            }
        }
Beispiel #2
0
 public FenetreScore(Game_Car _Game, MainWindow _demarrage) : this()
 {
     Game      = _Game;
     demarrage = _demarrage;
 }