Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (extrasTextField != null)
            {
                extrasTextField.Dispose();
                extrasTextField = null;
            }

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

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

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

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

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

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