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

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

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

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

            if (ThemeTitleLabel != null)
            {
                ThemeTitleLabel.Dispose();
                ThemeTitleLabel = null;
            }
        }
Esempio n. 2
0
 void ReleaseDesignerOutlets()
 {
     if (RecordButton != null)
     {
         RecordButton.Dispose();
         RecordButton = null;
     }
     if (StopButton != null)
     {
         StopButton.Dispose();
         StopButton = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (PlayButton != null)
            {
                PlayButton.Dispose();
                PlayButton = null;
            }

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

            if (TimeoutSwitch != null)
            {
                TimeoutSwitch.Dispose();
                TimeoutSwitch = null;
            }
        }
Esempio n. 4
0
        void ReleaseDesignerOutlets()
        {
            if (CameraButton != null)
            {
                CameraButton.Dispose();
                CameraButton = null;
            }

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

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

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

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

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

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

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

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

            if (ResumeButton != null)
            {
                ResumeButton.Dispose();
                ResumeButton = null;
            }
        }
Esempio n. 5
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;
            }
        }