/// <summary>
        /// Creates an instance of a Task Time form in order to edit the TaskTime.
        /// </summary>
        /// <param name="_frmMain"></param>
        /// <param name="_taskId"></param>
        /// <param name="_taskTimeId"></param>
        /// <param name="_formClosed"></param>
        public frmTaskTime(frmMain _frmMain, Guid _taskId, Guid _taskTimeId, FormClosedEventHandler _formClosed = null)
        {
            Presentation.Forms.frmSplashScreen ss = new Presentation.Forms.frmSplashScreen();
            ss.Show();
            Application.DoEvents();

            InitializeComponent();

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlMainHeader);
            controlsToMove.Add(this.panel12);
            controlsToMove.Add(this.panel13);
            controlsToMove.Add(this.label48);
            controlsToMove.Add(this.label39);

            frmMain_Parent = _frmMain;
            FormClosed    += _formClosed;

            task                = new Business.Entities.Task(_taskId);
            taskTime            = new Business.Entities.TaskTime(frmMain_Parent.CurrentUser.UserId, _taskTimeId);
            txtTaskName.Text    = task.TaskTypeIdName;
            txtDescription.Text = taskTime.Description;
            txtNotes.Text       = taskTime.Notes;

            if (taskTime.StartDate == null)
            {
                txtStartDate.Text = null;
            }
            else
            {
                txtStartDate.Text = ((DateTime)taskTime.StartDate).ToString("MM/dd/yyyy HH:mm tt");
            }

            if (taskTime.EndDate == null)
            {
                txtEndDate.Text = null;
            }
            else
            {
                txtEndDate.Text = ((DateTime)taskTime.EndDate).ToString("MM/dd/yyyy HH:mm tt");
            }

            if (taskTime.DurationMinutes == null)
            {
                txtDuration.Text = null;
            }
            else
            {
                TimeSpan timeSpan = TimeSpan.FromMinutes((double)taskTime.DurationMinutes);
                txtDuration.Text = Convert.ToString(String.Format("{0:00}:{1:00}:{2:00}", timeSpan.Hours, timeSpan.Minutes, timeSpan.Seconds));
            }

            this.Show();
            ss.Close();
        }
        /// <summary>
        /// Creates an instance of a Task Time form in order to insert new entries against the selected Task.
        /// </summary>
        /// <param name="_frmMain"></param>
        /// <param name="_taskId"></param>
        /// <param name="_formClosed"></param>
        public frmTaskTime(frmMain _frmMain, Guid _taskId, FormClosedEventHandler _formClosed = null)
        {
            InitializeComponent();

            Application.AddMessageFilter(this);
            controlsToMove.Add(this.pnlMainHeader);
            controlsToMove.Add(this.panel12);
            controlsToMove.Add(this.panel13);
            controlsToMove.Add(this.label48);
            controlsToMove.Add(this.label39);

            frmMain_Parent = _frmMain;
            FormClosed    += _formClosed;

            task             = new Business.Entities.Task(_taskId);
            txtTaskName.Text = task.TaskTypeIdName;

            taskTime                 = new Business.Entities.TaskTime(frmMain_Parent.CurrentUser.UserId);
            taskTime.TaskId          = _taskId;
            taskTime.DurationMinutes = 0;

            this.Show();
        }