public bool TryValidate()
        {
            var result = true;

            StartTimeText.ForceValidate();
            result &= StartTimeText.HasErrors == false;

            EndTimeText.ForceValidate();
            result &= EndTimeText.HasErrors == false;

            DomainModel.EditTimes(GetStartDateTime(), GetEndDateTime());

            return(result);
        }
        void ReleaseDesignerOutlets()
        {
            if (GpsImage != null)
            {
                GpsImage.Dispose();
                GpsImage = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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