private void onNicknameCancel(object sender, RoutedEventArgs e) { restService.cancelRequest(); nicknameDialog.unlock(); nicknameDialog.Visibility = Visibility.Collapsed; buttonChangeUsername.Click += buttonChangeUsername_Click; }
private void onNicknameCancel(object sender, RoutedEventArgs e) { restService.cancelRequest(); nicknameDialog.unlock(); nicknameDialog.Visibility = Visibility.Collapsed; buttonSyncAll.Click += buttonSyncAll_Click; puzzlesListBox.IsEnabled = true; }
private void onNicknameCancel(object sender, RoutedEventArgs e) { restService.cancelRequest(); nicknameDialog.unlock(); nicknameDialog.Visibility = Visibility.Collapsed; scorePanel.Visibility = Visibility.Visible; buttonUpload.Visibility = Visibility.Visible; if (nextPuzzleOpened) { buttonNextPuzzle.Visibility = Visibility.Visible; } gameCanvas.Children.Remove(nicknameDialog); gameCanvas.MouseLeftButtonDown += gameCanvas_MouseLeftButtonDown; }