private void buttonPrint_Click(object sender, EventArgs e)
 {
     if (formPrintEmployeePayroll == null || formPrintEmployeePayroll.IsDisposed)
     {
         formPrintEmployeePayroll = new FormPrintEmployeePayroll();
     }
     //formPrintEmployeePayroll.aa = this.dataGridViewPayrollTable.CurrentRow.Cells[3].Value.ToString();
     //formPrintEmployeePayroll.c = this.dataGridViewPayrollTable.CurrentRow.Cells[4].Value.ToString();
     formPrintEmployeePayroll.b = Int32.Parse(this.dataGridViewPayrollTable.CurrentRow.Cells[4].Value.ToString());
     //formViewAttendanceReportList.Parent = ;
     formPrintEmployeePayroll.Show();
 }
 private void buttonPrint_Click(object sender, EventArgs e)
 {
     if (formPrintEmployeePayroll == null || formPrintEmployeePayroll.IsDisposed)
     {
         formPrintEmployeePayroll = new FormPrintEmployeePayroll();
     }
     //formPrintEmployeePayroll.aa = this.dataGridViewPayrollTable.CurrentRow.Cells[3].Value.ToString();
     //formPrintEmployeePayroll.c = this.dataGridViewPayrollTable.CurrentRow.Cells[4].Value.ToString();
     formPrintEmployeePayroll.b = Int32.Parse(this.dataGridViewPayrollTable.CurrentRow.Cells[4].Value.ToString());
     //formViewAttendanceReportList.Parent = ;
     formPrintEmployeePayroll.Show();
 }