Exemplo n.º 1
0
 public frmCustomerSearch()
 {
     InitializeComponent();
     m_CustomerExecute = new CCustomerBUS();
     m_CustomerData    = new DataTable();
     m_flag            = false;
 }
 public frmCashReceiptVoucher()
 {
     InitializeComponent();
     m_CashReceiptVoucherObject  = new CCashReceiptVoucherDTO();
     m_CashReceiptVoucherExecute = new CCashReceiptVoucherBUS();
     m_CustomerData    = new DataTable();
     m_CustomerExecute = new CCustomerBUS();
 }
 public frmCashReceiptVoucher()
 {
     InitializeComponent();
     m_CashReceiptVoucherObject  = new CCashReceiptVoucherDTO();
     m_CashReceiptVoucherExecute = new CCashReceiptVoucherBUS();
     m_CustomerData    = new DataTable();
     m_CustomerExecute = new CCustomerBUS();
     btnView.Enabled   = false;
     btnSave.Enabled   = false;
 }
 public frmCashReceiptVoucher(String _maKhachHang, decimal _tienMuaHang)
 {
     InitializeComponent();
     m_CashReceiptVoucherObject  = new CCashReceiptVoucherDTO();
     m_CashReceiptVoucherExecute = new CCashReceiptVoucherBUS();
     m_CustomerData    = new DataTable();
     m_CustomerExecute = new CCustomerBUS();
     m_maKhachHang     = _maKhachHang;
     m_tienMuaHang     = _tienMuaHang;
 }
Exemplo n.º 5
0
 public frmCustomer()
 {
     InitializeComponent();
     m_CustomerObject         = new CCustomerDTO();
     m_CustomerExecute        = new CCustomerBUS();
     m_CustomerData           = new DataTable();
     m_CustomerMultiSelect    = new GridCheckMarksSelection(grdvListCustomer);
     btnSave.Enabled          = false;
     CustomerSno.VisibleIndex = 1;
 }
Exemplo n.º 6
0
 public frmCustomer()
 {
     InitializeComponent();
     m_CustomerObject         = new CCustomerDTO();
     m_CustomerExecute        = new CCustomerBUS();
     m_CustomerData           = new DataTable();
     m_CustomerMultiSelect    = new GridCheckMarksSelection(grdvListCustomer);
     CustomerSno.VisibleIndex = 1;
     //dateBirthDay.Properties.DisplayFormat.FormatType = FormatType.DateTime;
     //dateBirthDay.Properties.DisplayFormat.FormatString = "dd/MM/yyyy";
     //dateBirthDay.Properties.Mask.EditMask = "dd/MM/yyyy";
 }
 public frmCashReceiptVoucher(String _maKhachHang, decimal _tienMuaHang)
 {
     InitializeComponent();
     m_CashReceiptVoucherObject  = new CCashReceiptVoucherDTO();
     m_CashReceiptVoucherExecute = new CCashReceiptVoucherBUS();
     m_CustomerData    = new DataTable();
     m_CustomerExecute = new CCustomerBUS();
     m_maKhachHang     = _maKhachHang;
     m_tienMuaHang     = _tienMuaHang;
     lkCustomerName.Properties.ReadOnly = true;
     btnAdd.Enabled           = false;
     m_saveCashReceiptVoucher = true;
 }
 public frmDeliveryNoteSearch()
 {
     InitializeComponent();
     m_CustomerData              = new DataTable();
     m_CustomerExecute           = new CCustomerBUS();
     m_DeliveryNoteData          = new DataTable();
     m_DeliveryNoteExecute       = new CDeliveryNoteBUS();
     m_EmployeeNoteData          = new DataTable();
     m_EmployeeExecute           = new CEmployeeBUS();
     m_DeliveryNoteDetailData    = new DataTable();
     m_DeliveryNoteDetailExecute = new CDeliveryNoteDetailBUS();
     dateDelivery.DateTime       = DateTime.Now;
 }
Exemplo n.º 9
0
 public frmDeliveryNote()
 {
     InitializeComponent();
     m_BookData                      = new DataTable();
     m_BookExecute                   = new CBookBUS();
     m_DeliveryNoteData              = new DataTable();
     m_DeliveryNoteDetailData        = new DataTable();
     m_DeliveryNoteExecute           = new CDeliveryNoteBUS();
     m_DeliveryNoteDetailExecute     = new CDeliveryNoteDetailBUS();
     m_CustomerData                  = new DataTable();
     m_CustomerExecute               = new CCustomerBUS();
     m_DeliveryNoteDetailMultiselect = new GridCheckMarksSelection(grdvDeliveryBook);
     DeliveryNoteId.VisibleIndex     = 1;
     //DateTime.Compare//
     labDeliveryDateValue.Text = DateTime.Now.ToString("dd/MM/yyyy");
     txtDeliveryNoteId.Text    = m_DeliveryNoteExecute.getDeliveryNoteMaxIdFromDatabase();
 }