private void r5_Completed(object sender, EventArgs e) { stb6.Begin(); Man6 man3 = new Man6(); oc.Children.Add(man3); }
//private void Pause1_Click(object sender, RoutedEventArgs e) //{ // //Pause1.Visibility = Visibility.Collapsed; // //Resume1.Visibility = Visibility.Visible; // Canvas1.IsEnabled = false; // Canvas1.Focusable = false; //} //private void Resume1_Click(object sender, RoutedEventArgs e) //{ // //Resume1.Visibility = Visibility.Collapsed; // //Pause1.Visibility = Visibility.Visible; // Canvas1.IsEnabled = true; // Canvas1.Focusable = true; //} private void Continue_Click(object sender, RoutedEventArgs e) { //Pause1.IsEnabled = true; playMedia.Stop(); Global.dem = 5; //Man2 man2 = new Man2(); //Global.menutest.oc.Children.Add(man2); //Global.menutest.round2.Width = 300; //Global.menutest.imground6.ImageSource = new BitmapImage(new Uri(@"D:\ĐỒ ÁN TN\GitHub\Game\PuzzleGame\PuzzleGame\Images\Game1\Round6\xedap.png")); this.Visibility = Visibility.Collapsed; canhsat = false; cattoc = false; daubep = false; giaovien = false; Man6 man6 = new Man6(); Global.menutest.oc.Children.Add(man6); }