public void DrawingModalControllerCanceled(IDrawingViewModalController modalController) { //DO nothing }
public void DrawingModalControllerAccepted(IDrawingViewModalController modalController) { //Do nothing }
private void RequiresImageModalController(IDrawingViewModalController controller) { RequiresModalControllerEventArgs args = new RequiresModalControllerEventArgs(); args.ModalController = controller; this.RequiresModalView(args); }
public void DrawingModalControllerAccepted(IDrawingViewModalController modalController) { LinkDrawingViewModalController linkModalController = modalController as LinkDrawingViewModalController; __label = linkModalController.Label; __webLink = linkModalController.Url; __openWeb.SetTitle(__label, UIControlState.Normal); }
public void DrawingModalControllerAccepted(IDrawingViewModalController modalController) { ImageDrawingViewModalController imageModalController = modalController as ImageDrawingViewModalController; __tag = imageModalController.Tag; UIImage selectedImage = imageModalController.SelectedImage; UIImage resizedImage = this.ResizeImage(selectedImage); string imageSource = this.SaveTemporaly(resizedImage); __source = imageSource; UIImage newImage = UIImage.FromFile(imageSource); __imageView.Image = newImage; }