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

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

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

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

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

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

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

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

            if (TimeLabel != null)
            {
                TimeLabel.Dispose();
                TimeLabel = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (Address1Label != null)
            {
                Address1Label.Dispose();
                Address1Label = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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