예제 #1
0
 public UC_BangKeChiTietBH(frmBanHang _nhap, string _Timechon, DateTime _DateTimeFrom, DateTime _DateTimeTo, DataTable _table)
 {
     InitializeComponent();
     cbochon.Text     = _Timechon;
     dateDen.DateTime = _DateTimeFrom;
     dateTu.DateTime  = _DateTimeTo;
     gridView1.Invalidate();
     gridView1.IndicatorWidth = 40;
     gridControl1.DataSource  = _table;
     main_form = _nhap;
 }
예제 #2
0
        public UC_BangKeTongHopBH(frmBanHang _nhap, string _Timechon, DateTime _DateTimeFrom, DateTime _DateTimeTo, DataTable _table)
        {
            InitializeComponent();
            main_form        = _nhap;
            cbochon.Text     = _Timechon;
            dateDen.DateTime = _DateTimeFrom;
            dateTu.DateTime  = _DateTimeTo;
            gridView1.Invalidate();
            gridView1.IndicatorWidth = 40;
            gridControl1.DataSource  = _table;
            main_form            = _nhap;
            _sys_log.MChine      = new MobilityNetwork().GetComputerName();
            _sys_log.IP          = new MobilityNetwork().GetIP();
            _sys_log.UserID      = "US000001";
            _sys_log.Created     = DateTime.Now;
            _sys_log.Action_Name = "Xem";
            _sys_log.Description = "Bảng Kê Phiếu Xuất";
            _sys_log.Module      = "Bảng Kê Phiếu Xuất";
            _sys_log.Active      = true;
            SYS_LOGController insertlog = new SYS_LOGController();

            insertlog.SYS_LOG_Insert(_sys_log);
        }