private void BtnSortByDate_Click(object sender, EventArgs e) { clickedSortType = "Date"; date = txtDateReport.Text; DisplayAttendanceReport display = new DisplayAttendanceReport(); display.ShowDialog(); }
private void Button7_Click(object sender, EventArgs e) { clickedSortType = "EmpID"; sortID = Int32.Parse(txtEmpIDReport.Text); DisplayAttendanceReport display = new DisplayAttendanceReport(); display.ShowDialog(); }
private void BtnSortByMonthYear_Click(object sender, EventArgs e) { clickedSortType = "MonthYear"; month = lblMonthReport.Text; year = lblYearReport.Text; DisplayAttendanceReport display = new DisplayAttendanceReport(); display.ShowDialog(); }