public void call_Print() { if (GridRecord.Rows.Count == 0) { MessageBox.Show("출력할 자료가 없습니다."); return; } frmPrt.Show(); frmPrt.BringToFront(); frmPrt.prt_원장조회(adoPrt, strDay1, strDay2, strCust, strCondition); }