public override void ViewDidLoad() { base.ViewDidLoad(); btnStart.TouchUpInside += (sender, e) => { if (scChoice.SelectedSegment == 0) { if (viewController == null) { viewController = new MainScreenViewController(); } NavigationController.PushViewController(viewController, true); } }; }
public override void ViewDidLoad() { base.ViewDidLoad(); //CreateDataBase(); btnGo.TouchUpInside += (sender, e) => { if (scChoice.SelectedSegment == 0) { int segmetSingleChoice = scSingleChoiceOptions.SelectedSegment; Console.WriteLine(segmetSingleChoice); if (viewController == null) { viewController = new MainScreenViewController(); } NavigationController.PushViewController(viewController, true); } }; }