Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (DuplicatesButton != null)
            {
                DuplicatesButton.Dispose();
                DuplicatesButton = null;
            }

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

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

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

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

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

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