示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (BitView != null)
            {
                BitView.Dispose();
                BitView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

            if (TypeLabel != null)
            {
                TypeLabel.Dispose();
                TypeLabel = 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 (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;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ClearText_Button != null)
            {
                ClearText_Button.Dispose();
                ClearText_Button = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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