public void OnNext(Model value) { KlipTypePickerContainer.Hidden = true; SelectProjectContainer.Hidden = true; ShotListContainer.Hidden = true; if (value.captureMode == Model.CaptureMode.Interview) { KlipTypeButton.SetTitle("Interview", UIControlState.Normal); } if (value.captureMode == Model.CaptureMode.CoverShot) { KlipTypeButton.SetTitle("Cover Shot", UIControlState.Normal); } if (value.captureMode == Model.CaptureMode.None) { KlipTypeButton.SetTitle("No capture mode selected", UIControlState.Normal); } if (value.inspectedVideoProject == null) { ProjectNameButton.SetTitle("No project selected", UIControlState.Normal); } else { ProjectNameButton.SetTitle(value.inspectedVideoProject.name, UIControlState.Normal); } //TimerLabel.Text = value.timeEllapsed; if (!value.recording) { TimerLabel.Text = "00:00:00"; } }
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; } }