void ReleaseDesignerOutlets() { if (CompetitionDateLabel != null) { CompetitionDateLabel.Dispose(); CompetitionDateLabel = null; } if (CompetitionNameLabel != null) { CompetitionNameLabel.Dispose(); CompetitionNameLabel = null; } if (CompetitionDetailTable != null) { CompetitionDetailTable.Dispose(); CompetitionDetailTable = null; } }
partial void CompetitionDetailTableSource(Foundation.NSObject sender) { if (!(sender is UISegmentedControl)) { return; } var sortationSelector = sender as UISegmentedControl; if (sortationSelector.SelectedSegment == 0) { tableDataSourceType = DetailTableDataSourceEnum.Cyclers; cyclerDataSource = DataSource.GetCompetitionCyclerResults(0); } if (sortationSelector.SelectedSegment == 1) { tableDataSourceType = DetailTableDataSourceEnum.Teams; teamDataSource = DataSource.GetCompetitionTeamResults(0); } CompetitionDetailTable.ReloadData(); }