Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (Clear != null)
            {
                Clear.Dispose();
                Clear = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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