Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (IndexLabel != null)
            {
                IndexLabel.Dispose();
                IndexLabel = null;
            }

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

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

            if (IndexOutlineView != null)
            {
                IndexOutlineView.Dispose();
                IndexOutlineView = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (IndexLabel != null)
            {
                IndexLabel.Dispose();
                IndexLabel = null;
            }

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

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