//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(); //Man2 man2 = new Man2(); //Global.menutest.oc.Children.Add(man2); //Global.menutest.round2.Width = 300; Global.menutest.imground4.ImageSource = new BitmapImage(new Uri(@"D:\ĐỒ ÁN TN\GitHub\Game\PuzzleGame\PuzzleGame\Images\Game1\Round4\thanhlong.png")); this.Visibility = Visibility.Collapsed; chuc = false; chub = false; chue = false; chuo = false; chug = false; chuf = false; chui = false; chuk = false; chus = false; chut = false; chuv = false; Man4 man4 = new Man4(); Global.menutest.oc.Children.Add(man4); }
private void r7_Completed(object sender, EventArgs e) { stb8.Begin(); Man4 man4 = new Man4(); oc.Children.Add(man4); }