private void tsbPrint_Click(object sender, EventArgs e)
        {
            //网格直接打印
            ReportCenter rc = new ReportCenter(gridControl1, "超领单明细报表", "");

            rc.Preview();
        }
        private void tsbPrint_Click(object sender, EventArgs e)
        {
            //网格直接打印
            ReportCenter rc = new ReportCenter(gridControl2, "采购订单执行情况报表", "", true);

            rc.Preview();
        }
Ejemplo n.º 3
0
        private void tsbPrint_Click(object sender, EventArgs e)
        {
            if (gridView1.RowCount <= 0)
            {
                this.ShowAlertMessage("请查询数据后再打印!");
                return;
            }

            //网格直接打印
            ReportCenter rc = new ReportCenter(gridControl1, "在制品报表", "", true);

            rc.Preview();
        }
Ejemplo n.º 4
0
        public virtual void MyPrint()
        {
            ReportCenter rc = new ReportCenter(gridControl1, "盘点表", "");

            rc.Preview();
        }