}//---------------------- //####################################################END DATAGRIDVIEW dgvList EVENTS#################################################### //####################################################BUTTON btnPrint EVENTS#################################################### //event is raised when the cell content is clicked private void btnPrintClick(object sender, EventArgs e) { _hasClickedPrint = true; this.txtSearch.Focus(); _filteredStudentTable = _studentManager.GetFilteredStudentStatementOfAccount((DataTable)this.dgvList.DataSource); this.Close(); }//-----------------------