Exemplo n.º 1
0
        partial void PassengerButton_TouchUpInside(UIButton sender)
        {
            DataManip.SetIsTemp(true);

            DataManip.AddToTemp(DateOutTextField.Text);
            DataManip.AddToTemp(DateInTextField.Text);
            DataManip.AddToTemp(HobbsInTextField.Text);
            DataManip.AddToTemp(HobbsOutTextField.Text);
            DataManip.AddToTemp(HobbsTotalTextField.Text);
            DataManip.AddToTemp(CashSpentTextField.Text);
            DataManip.AddToTemp(pilotTextField.Text);
            DataManip.AddToTemp(leaseTextField.Text);
            DataManip.AddToTemp(FlightTypeTextField.Text);
            DataManip.AddToTemp(PlaneTypeTextField.Text);
            DataManip.AddToTemp(DestinationTextField.Text);

            UIStoryboard     board = UIStoryboard.FromName("Main", null);
            UIViewController ctrl  = (UIViewController)board.InstantiateViewController("PassengerView");

            ctrl.ModalTransitionStyle = UIModalTransitionStyle.FlipHorizontal;
            this.PresentViewController(ctrl, true, null);
        }