private void Button_Day_Display_MouseUp(object sender, MouseEventArgs e) { DateTimeLabelDay.Show(); Panel_DayControlHolder.Show(); pib_1.Show(); pib_2.Show(); if (pb_VisTest_02 == 1) { pib_2.Show(); pb_VisTest_02 = 0; } if (pb_VisTest_03 == 1) { pib_3.Show(); pb_VisTest_03 = 0; } if (pb_VisTest_04 == 1) { pib_4.Show(); pb_VisTest_04 = 0; } if (pb_VisTest_05 == 1) { pib_5.Show(); pb_VisTest_05 = 0; } if (pb_VisTest_06 == 1) { pib_6.Show(); pb_VisTest_06 = 0; } if (pb_VisTest_07 == 1) { pib_7.Show(); pb_VisTest_07 = 0; } if (pb_VisTest_08 == 1) { pib_8.Show(); pb_VisTest_08 = 0; } if (pb_VisTest_09 == 1) { pib_9.Show(); pb_VisTest_09 = 0; } if (pb_VisTest_10 == 1) { pib_10.Show(); pb_VisTest_10 = 0; } Button_DayControl_NextDay.Show(); Button_DayControl_NextMonth.Show(); Button_DayControl_PrevDay.Show(); Button_DayControl_PrevMonth.Show(); Button_DayControl_Today.Show(); Button_Month_Display_B.Show(); AMOverlay.Show(); time_panel.Focus(); month_Control_1.Hide(); DaySideMonthCalendar.SelectionStart = month_Control_1.MonthCalendarExport.SelectionStart; DateTimeLabelDay.Text = (DaySideMonthCalendar.SelectionStart.DayOfWeek.ToString() + "," + " " + DaySideMonthCalendar.SelectionStart.ToString("MMMM") + " " + DaySideMonthCalendar.SelectionStart.Day.ToString() + "," + " " + DaySideMonthCalendar.SelectionStart.Year.ToString()); }