public Kvadrat(Image image, Igra igra)
        {
            InitializeComponent();

            image1.Visibility = System.Windows.Visibility.Hidden;

            image1.Source = image.Source;
            this.igra = igra;
        }
 private void button_ponovo_Click(object sender, RoutedEventArgs e)
 {
     Igra i = new Igra();
     i.Show();
     this.Close();
 }
 private void button_pokreni_Click(object sender, RoutedEventArgs e)
 {
     Igra igra = new Igra();
     igra.Show();
     this.Close();
 }