示例#1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            btnStart.TouchUpInside += (sender, e) => {
                if (scChoice.SelectedSegment == 0)
                {
                    if (viewController == null)
                    {
                        viewController = new MainScreenViewController();
                    }

                    NavigationController.PushViewController(viewController, true);
                }
            };
        }
示例#2
0
        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);
                }
            };
        }