示例#1
0
        //绑定快捷键
        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;
            }
        }
示例#2
0
 //打印
 private void printTool_Click(object sender, EventArgs e)
 {
     PrintDGV.Print_DataGridView(dgv, "会员卡售卡统计", false, "");
 }
示例#3
0
 //打印
 private void printTool_Click(object sender, EventArgs e)
 {
     PrintDGV.Print_DataGridView(dgvCustomerList, "供货商应付账款", false, "");
 }
示例#4
0
 //打印
 private void printTool_Click(object sender, EventArgs e)
 {
     PrintDGV.Print_DataGridView(dgv, "项目报表", false, "作业时间:" + startDate.Text);
 }
示例#5
0
 //打印清单
 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, "");
 }
示例#7
0
 //打印
 private void toolPrint_Click(object sender, EventArgs e)
 {
     PrintDGV.Print_DataGridView(dgvActList, "收银单据查询", false, "");
 }