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

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

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

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

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

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

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

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (ProcButton != null)
            {
                ProcButton.Dispose();
                ProcButton = null;
            }

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

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

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

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

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

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

            if (VarLevel != null)
            {
                VarLevel.Dispose();
                VarLevel = null;
            }
        }
示例#3
0
        void ReleaseDesignerOutlets()
        {
            if (CommLabel != null)
            {
                CommLabel.Dispose();
                CommLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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