コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (LabelEighth != null)
            {
                LabelEighth.Dispose();
                LabelEighth = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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