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

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

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

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

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

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

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

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

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

            if (Hexadecimal_Label != null)
            {
                Hexadecimal_Label.Dispose();
                Hexadecimal_Label = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (Binary_Label != null)
            {
                Binary_Label.Dispose();
                Binary_Label = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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