Exemplo n.º 1
0
        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var dt = dsxCtr.LoadData_DonSanXuat_NgayXuongDon_DanhSach(OrderDate.Text, (int)txtDanhSach.Value);
            var rp = new rptDonSanXuat_Avery {
                DataSource = dt
            };

            rp.databing();
            rp.ShowRibbonPreviewDialog();
        }
Exemplo n.º 2
0
        private void bbiDonSanXuat_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var dt = dsxCtr.LoadData_DonSanXuat_NgayXuongDon_DanhSach(Ngayxuongdontxt.DateTime.ToString("yyyy-MM-dd"), (int)txtDanhSach.Value);
            var rp = new rptDonSanXuat_Avery {
                DataSource = dt
            };

            rp.databing();
            rp.ShowRibbonPreviewDialog();
        }