private void B7_Click(object sender, RoutedEventArgs e) { Window menu = new menu(); menu.Show(); this.Close(); }
private void Button_Click(object sender, RoutedEventArgs e) { Window menu = new menu(); // menu.Owner = this; menu.Show(); this.Close(); }
private void Button_Click(object sender, RoutedEventArgs e) { menu menu = new menu(); int i = 0; menu.Show(); this.Close(); }
private void Button_Click(object sender, RoutedEventArgs e) { menu menu = new menu(); File.AppendAllText(@"C:\ri87\git курсовая1\курсовая\date1.txt", name.Text); File.AppendAllText(@"C:\ri87\git курсовая1\курсовая\date1.txt", " "); File.AppendAllText(@"C:\ri87\git курсовая1\курсовая\date1.txt", w1.Content.ToString()); File.AppendAllText(@"C:\ri87\git курсовая1\курсовая\date1.txt", "\n"); menu.Show(); this.Close(); }
void puzzle_Edited(object sender, EventArgs e) { bool validate = puzzle.Validate(itemPlacement); if (validate) { MessageBox.Show("Ты выйграл"); Window menu = new menu(); menu.Show(); this.Close(); } }
private void Button_Click(object sender, RoutedEventArgs e) { if (name.Text == "") { MessageBox.Show(" Веведите имя"); } else { menu menu = new menu(); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", name.Text); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", " "); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", w1.Content.ToString()); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", " "); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", w2.Content.ToString()); File.AppendAllText(@"C:\ri87\NEWPUZZLEPORTAL\date1.txt", "\n"); menu.Show(); this.Close(); } }