private void nav_menu_Click(object sender, RoutedEventArgs e)
        {
            Jocuri form = new Jocuri();

            form.Show();
            this.Hide();
        }
示例#2
0
 private void inapoi_Click(object sender, RoutedEventArgs e)
 {
     if (parametru == 0)
     {
         Jocuri form = new Jocuri();
         form.Show();
     }
     else if (parametru == 1)
     {
         Meniu form = new Meniu();
         form.Show();
     }
     this.Hide();
 }