protected override void Dispose(bool disposing) { if (disposing) { CancelMakeModelTask(); CancelPhotoTask(); if (photograph != null) { photograph.Dispose(); photograph = null; } if (dialog != null) { dialog.Dispose(); dialog = null; } } base.Dispose(disposing); }
public EditAircraftProfileView(RectangleF frame) : base(frame) { BackgroundColor = UIColor.Clear; float dialogWidth = frame.Width - TableViewOffset - XBorderPadding - 55.0f; var dialogFrame = new RectangleF (TableViewOffset, YBorderPadding, dialogWidth, PhotoHeight); var root = new RootElement (null); root.Add (CreateTailNumberSection ()); root.Add (CreateMakeAndModelSection ()); dialog = new DialogView (dialogFrame, root); AddSubview (dialog); }
protected override void Dispose(bool disposing) { if (disposing) { CancelMakeModelTask (); CancelPhotoTask (); if (photograph != null) { photograph.Dispose (); photograph = null; } if (dialog != null) { dialog.Dispose (); dialog = null; } } base.Dispose (disposing); }
public Source(DialogView dialog) { this.dialog = dialog; }