void ReleaseDesignerOutlets()
 {
     if (arView != null)
     {
         arView.Dispose();
         arView = null;
     }
 }
示例#2
0
 void ReleaseDesignerOutlets()
 {
     if (sceneView != null)
     {
         sceneView.Dispose();
         sceneView = null;
     }
 }
示例#3
0
        void ReleaseDesignerOutlets()
        {
            if (accuracyLabel != null)
            {
                accuracyLabel.Dispose();
                accuracyLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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