コード例 #1
0
ファイル: SignatureCell.cs プロジェクト: yxy332/prebuilt-apps
        /// <summary>
        /// Event for adding a signature
        /// </summary>
        partial void AddSignature()
        {
            var signatureController = new SignatureController();

            signatureController.Dismissed += (sender, e) => controller.ReloadConfirmation();
            signatureController.PresentFromRect(Frame, Superview, UIPopoverArrowDirection.Up, true);
        }
コード例 #2
0
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                photoViewModel.SelectedPhoto = photoViewModel.Photos[indexPath.Section];

                var addPhotoController = controller.Storyboard.InstantiateViewController <AddPhotoController>();

                addPhotoController.Dismissed += (sender, e) => controller.ReloadConfirmation();
                controller.PresentViewController(addPhotoController, true, null);
            }