void UpdateLogLevel(object sender, EventArgs e) { string level = ((Button)sender).Text; LevelSelected?.Invoke(LogLevels[level]); ((NavigationPage)Application.Current.MainPage).PopAsync(); }
void UpdateLogLevel(object sender, System.EventArgs e) { string level = ((TextCell)sender).Text; LevelSelected.Invoke(LogLevels[level]); ((NavigationPage)App.Current.MainPage).PopAsync(); }
private void EverythingButton_Click(object sender, EventArgs e) { if (LevelSelected != null) { LevelSelected.Invoke(this, XivDependencyLevel.Root); } }
private void ModelButton_Click(object sender, EventArgs e) { if (LevelSelected != null) { LevelSelected.Invoke(this, XivDependencyLevel.Model); } }
private void BackButton_Click(object sender, RoutedEventArgs e) { if (LevelSelected != null) { LevelSelected.Invoke(this, XivDependencyLevel.Invalid); } }
public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.CellAt(indexPath); LevelSelected?.Invoke(mLogLevels[cell.TextLabel.Text]); tableView.DeselectRow(indexPath, true); NavigationController.PopViewController(true); }
private void Play_Click(object sender, EventArgs e) { LevelSelected?.Invoke(this, levelBox.SelectedLevel, activeMod); }