예제 #1
0
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            Task.NavToolbar.SetCreateButtonEnabled(true, delegate
            {
                // now disable the button so they can't spam it
                Task.NavToolbar.SetCreateButtonEnabled(false);

                Prayer_CreateUIViewController viewController = new Prayer_CreateUIViewController( );
                Task.PerformSegue(this, viewController);
            }
                                                   );
        }
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            Task.NavToolbar.SetCreateButtonEnabled( true, delegate
                {
                    // now disable the button so they can't spam it
                    Task.NavToolbar.SetCreateButtonEnabled( false );

                    Prayer_CreateUIViewController viewController = new Prayer_CreateUIViewController( );
                    Task.PerformSegue( this, viewController );
                }
            );
        }