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

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

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

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

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

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

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

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

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

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