private void backButton_Click(object sender, RoutedEventArgs e) { Level2Selecter l = new Level2Selecter(); l.Show(); this.Close(); }
private void level2Button_Click(object sender, RoutedEventArgs e) { if (CurrentAcc.Level_Avalible < 2) { MessageBox.Show("Уровень недоступен, сначала пройдите уровень 1"); return; } Level2Selecter ls = new Level2Selecter(); ls.Show(); }