//绑定快捷键 private void Form_KeyDown(object sender, KeyEventArgs e) { switch (e.KeyCode) { case Keys.Escape: this.Close(); break; case Keys.F3: dgvCustomer_show(); break; case Keys.F5: PrintDGV.Print_DataGridView(dgvCustomerList, "客户挂账统计", false, ""); break; case Keys.F4: BathClass.exportDgvToExcel(dgvCustomerList); break; default: break; } }
//打印 private void printTool_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgv, "会员卡售卡统计", false, ""); }
//打印 private void printTool_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgvCustomerList, "供货商应付账款", false, ""); }
//打印 private void printTool_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgv, "项目报表", false, "作业时间:" + startDate.Text); }
//打印清单 private void printTool_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgvCombo, "套餐管理", false, ""); }
//打印 private void printTool_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgvDetails, "团购优惠方案报表", false, ""); }
//打印 private void toolPrint_Click(object sender, EventArgs e) { PrintDGV.Print_DataGridView(dgvActList, "收银单据查询", false, ""); }