//报表设置 void UCReport_MoreEvent(object sender, EventArgs e) { //报表设置 frmReportSet frmSet = new frmReportSet(); frmSet.setObject = styleObject; if (frmSet.ShowDialog() == DialogResult.OK) { SetReportSet(); } }
/// <summary> /// 打印设置 /// </summary> public void PrintSet(DataGridView dgv) { //报表设置 frmReportSet frmSet = new frmReportSet(); frmSet.setObject = printObject; if (frmSet.ShowDialog() == DialogResult.OK) { SetReportSet(dgv); } }