private void Button_Click(object sender, RoutedEventArgs e) { slidingPuzzle win2 = new slidingPuzzle(); win2.Show(); this.Close(); }
private void NewGameStartGame_Click(object sender, RoutedEventArgs e) { slidingPuzzle win2 = new slidingPuzzle(); win2.Show(); this.Close(); }
/// <summary> /// Window position Test: /// Testing window position. /// Currently not working. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SlidingPuzzle_OnLoaded(object sender, RoutedEventArgs e) { slidingPuzzle win2 = new slidingPuzzle(); win2.Top = 0; win2.Left = 0; }
private void CreateCreateProfile_Click(object sender, RoutedEventArgs e) { slidingPuzzle win2 = new slidingPuzzle(); win2.Show(); this.Close(); }
void App_Startup(object sender, StartupEventArgs e) { slidingPuzzle mainWindow = new slidingPuzzle(); mainWindow.Top = 100; mainWindow.Left = 400; MainWindow.Show(); }
private void Game1_Click(object sender, RoutedEventArgs e) { slidingPuzzle win2 = new slidingPuzzle(); win2.Show(); this.Close(); slidingPuzzle sp = new slidingPuzzle(); image = new BitmapImage(new Uri("/Numbers/amsterdam1.jpg", UriKind.Relative)); img = new Image { Source = image }; sp.CreatePuzzleForImage(); }