//do registration
        private void doRegistration(string studentID)
        {
            RegisterViewController registerViewController = (RegisterViewController)AppDelegate.Storyboard.InstantiateViewController("RegisterViewController");

            registerViewController.currentStudentID = studentID;
            this.PresentViewController(registerViewController, true, null);
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Console.WriteLine("Load My Bookings View");

            //handle logout button action
            logoutButton.Clicked += (o, e) => {
                this.DismissViewControllerAsync(true);
            };

            //handle logout button action
            myProfileButton.Clicked += (o, e) => {
                RegisterViewController registerViewController = (RegisterViewController)AppDelegate.Storyboard.InstantiateViewController("RegisterViewController");
                this.PresentViewController(registerViewController, true, null);
            };
        }
Beispiel #3
0
 public PickerModel(RegisterViewController pvc, string pickerType)
 {
     this.pvc        = pvc;
     this.pickerType = pickerType;
 }