public TimesheetApproval_Submission(FivesBronxTimesheetManagement.Classes.User User, TimesheetEntry tsEntryScreen) { InitializeComponent(); queries = new Queries2(); functions = new Functions(); user = User; this.tsEntryScreen = tsEntryScreen; beforeDate = DateTime.Now; RefreshDGHoursFromClassList(); BindDataGrid(); weekEnding = functions.WeekEnding(DateTime.Now); RefreshDateList(weekEnding); }