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

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

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

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

            if (UnreadCountLabel != null)
            {
                UnreadCountLabel.Dispose();
                UnreadCountLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (CallButton != null)
            {
                CallButton.Dispose();
                CallButton = null;
            }

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

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

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

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

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

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

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

            if (TaskLabel != null)
            {
                TaskLabel.Dispose();
                TaskLabel = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (CommunityLabel != null)
            {
                CommunityLabel.Dispose();
                CommunityLabel = null;
            }

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

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

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

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

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

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