예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (NumSelectedParts != null)
            {
                NumSelectedParts.Dispose();
                NumSelectedParts = null;
            }

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

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

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