Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (BlueValueLabel != null)
            {
                BlueValueLabel.Dispose();
                BlueValueLabel = null;
            }

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

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

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

            if (RedValueLabel != null)
            {
                RedValueLabel.Dispose();
                RedValueLabel = 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;
            }
        }