void ReleaseDesignerOutlets()
        {
            if (ButtonCancel != null)
            {
                ButtonCancel.Dispose();
                ButtonCancel = null;
            }

            if (ButtonUpdate != null)
            {
                ButtonUpdate.Dispose();
                ButtonUpdate = null;
            }

            if (MapViewAddress != null)
            {
                MapViewAddress.Dispose();
                MapViewAddress = null;
            }

            if (TextFieldEmail != null)
            {
                TextFieldEmail.Dispose();
                TextFieldEmail = null;
            }

            if (TextFieldName != null)
            {
                TextFieldName.Dispose();
                TextFieldName = null;
            }
        }
        private void SetMapRegion(CLLocationCoordinate2D centerCoordinate)
        {
            var span = new MKCoordinateSpan(spanDelta, spanDelta);

            var region = new MKCoordinateRegion(centerCoordinate, span);

            MapViewAddress.SetRegion(region, false);
        }
        private void AddPin(CLLocationCoordinate2D centerCoordinate)
        {
            var pin = new PinMapAnnotation(centerCoordinate, User.Name);

            MapViewAddress.AddAnnotation(pin);
        }