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

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

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

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

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

            if (Update != null)
            {
                Update.Dispose();
                Update = null;
            }
        }
Ejemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (AssistButton != null)
            {
                AssistButton.Dispose();
                AssistButton = null;
            }

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

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

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

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

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

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

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

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

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