void ViewCode(object sender, EventArgs ea) { CodeViewController viewController = new CodeViewController(); viewController.controlName = ControlName; viewController.sampleName = IsTypesSampleView ? typesSampleNameToLoad : featuresSampleNameToLoad; codeVisible = true; this.NavigationController.PushViewController(viewController, true); }
private void ViewCode(object sender, EventArgs args) { CodeViewController viewController = new CodeViewController(); viewController.ControlName = ControlName; viewController.SampleName = IsTypesSampleView ? TypesSampleNameToLoad : FeaturesSampleNameToLoad; codeVisible = true; this.NavigationItem.BackBarButtonItem = new UIBarButtonItem("Back", UIBarButtonItemStyle.Plain, null); this.NavigationController.PushViewController(viewController, true); }
void ViewCode(object sender, EventArgs ea) { codeVisited = true; codeVisible = true; CodeViewController viewController = new CodeViewController(); viewController.controlName = ControlName; viewController.sampleName = sampleNameToLoad; this.NavigationController.PushViewController(viewController, true); }
void ViewCode(object sender, EventArgs ea) { codeVisited = true; codeVisible = true; CodeViewController viewController = new CodeViewController(); viewController.ControlName = ControlName; viewController.SampleName = sampleNameToLoad; this.NavigationItem.BackBarButtonItem = new UIBarButtonItem("Back", UIBarButtonItemStyle.Plain, null); this.NavigationController.PushViewController(viewController, true); }
public sampleDataSource(CodeViewController sampleControl) { this.controller = sampleControl; }