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

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

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

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

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

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

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

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

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

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

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

            if (InputPathTextField != null)
            {
                InputPathTextField.Dispose();
                InputPathTextField = null;
            }
        }
Beispiel #3
0
 void ReleaseDesignerOutlets()
 {
     if (AmountTextField != null)
     {
         AmountTextField.Dispose();
         AmountTextField = null;
     }
     if (ConvertButton != null)
     {
         ConvertButton.Dispose();
         ConvertButton = null;
     }
     if (ResultLabel != null)
     {
         ResultLabel.Dispose();
         ResultLabel = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (AmountLabel != null)
            {
                AmountLabel.Dispose();
                AmountLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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