Exemplo n.º 1
0
        void UpdateLogLevel(object sender, EventArgs e)
        {
            string level = ((Button)sender).Text;

            LevelSelected?.Invoke(LogLevels[level]);
            ((NavigationPage)Application.Current.MainPage).PopAsync();
        }
Exemplo n.º 2
0
        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);
     }
 }
Exemplo n.º 6
0
        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);
        }
Exemplo n.º 7
0
 private void Play_Click(object sender, EventArgs e)
 {
     LevelSelected?.Invoke(this, levelBox.SelectedLevel, activeMod);
 }