private void btnYesterday_Click(object sender, EventArgs e)
        {
            ActivateButton(sender, Color.Coral);
            DateTime            now        = DateTime.Now.AddDays(-1);
            frmDetailedOverview DetailForm = new frmDetailedOverview(new DateTime(now.Year, now.Month, now.Day, 0, 0, 0), new DateTime(now.Year, now.Month, now.Day, 23, 59, 59), Enums.ProcessActionStatsDivisionType.Daily);

            DetailForm.ShowInPanel(pnlDesktop);
        }
        private void TodayClicked(object sender)
        {
            ActivateButton(sender, Color.BlueViolet);
            DateTime            now        = DateTime.Now;
            frmDetailedOverview DetailForm = new frmDetailedOverview(new DateTime(now.Year, now.Month, now.Day, 0, 0, 0), new DateTime(now.Year, now.Month, now.Day, 23, 59, 59), Enums.ProcessActionStatsDivisionType.Daily);

            DetailForm.ShowInPanel(pnlDesktop);
        }
        private void btnThisWeek_Click(object sender, EventArgs e)
        {
            ActivateButton(sender, Color.ForestGreen);
            DateTime            now        = DateTime.Now;
            DateTime            monday     = now.StartOfWeek();
            frmDetailedOverview DetailForm = new frmDetailedOverview(monday, monday.AddDays(7), Enums.ProcessActionStatsDivisionType.Weekly);

            DetailForm.ShowInPanel(pnlDesktop);
        }
        private void btnPrevMonth_Click(object sender, EventArgs e)
        {
            ActivateButton(sender, Color.DeepPink);
            DateTime            start      = new DateTime(DateTime.Now.AddMonths(-1).Year, DateTime.Now.AddMonths(-1).Month, 1, 0, 0, 0);
            DateTime            end        = start.AddMonths(1).AddDays(-1);
            frmDetailedOverview DetailForm = new frmDetailedOverview(start, end, Enums.ProcessActionStatsDivisionType.Monthly);

            DetailForm.ShowInPanel(pnlDesktop);
        }
        private void btnPrevQuarter_Click(object sender, EventArgs e)
        {
            ActivateButton(sender, Color.DarkGray);
            DateTime from = DateTime.Now.StartOfQuarter().AddMonths(-3);
            DateTime to   = from.AddMonths(3).AddMinutes(-1);

            frmDetailedOverview DetailForm = new frmDetailedOverview(from, to, Enums.ProcessActionStatsDivisionType.Monthly);

            DetailForm.ShowInPanel(pnlDesktop);
        }
        private void btnPrevShift_Click(object sender, EventArgs e)
        {
            ActivateButton(sender, Color.DodgerBlue);
            DateTime from = DateTime.Now.StartOfShift().AddHours(-8);
            DateTime to   = from.AddHours(8).AddMinutes(-1);

            frmDetailedOverview DetailForm = new frmDetailedOverview(from, to, Enums.ProcessActionStatsDivisionType.Daily);

            DetailForm.ShowInPanel(pnlDesktop);
        }