Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
 public Source(DialogView dialog)
 {
     this.dialog = dialog;
 }
Exemplo n.º 5
0
 public Source(DialogView dialog)
 {
     this.dialog = dialog;
 }