Пример #1
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 (CS_Label != null)
            {
                CS_Label.Dispose();
                CS_Label = null;
            }

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

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

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

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

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

            if (String_TextBox != null)
            {
                String_TextBox.Dispose();
                String_TextBox = null;
            }
        }
Пример #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;
            }
        }