Exemplo n.º 1
0
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     groupControl1.ResetText();
     groupControl1.Text = "Lệnh Nhập Kho";
     groupControl1.Controls.Clear();
     frmCTMH      = new UC_ChungTuMuaHang();
     frmCTMH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmCTMH);//thêm user control vào panel
 }
Exemplo n.º 2
0
 public frmChungTuNhapKho()
 {
     InitializeComponent();
     groupControl1.ResetText();
     groupControl1.Text = "Lệnh Nhập Kho";
     groupControl1.Controls.Clear();
     frmCTMH      = new UC_ChungTuMuaHang();
     frmCTMH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmCTMH);//thêm user control vào panel
 }
Exemplo n.º 3
0
 public frmChonDonHangMua(UC_ChungTuMuaHang frm, String _app)
 {
     InitializeComponent();
     dateDen.DateTime = DateTime.Now;
     dateTu.DateTime  = DateTime.Now;
     InitLookUpKhoHang();
     InitLookUp_NhanVien();
     InitLookUpBophan();
     frmchungtu = frm;
     gridView1.Invalidate();
     gridView1.IndicatorWidth = 30;
     repositoryItemGridLookUpEdit1.DataSource    = new STOCKController().STOCK_GetList();
     repositoryItemGridLookUpEdit1.DisplayMember = "Stock_Name";
     repositoryItemGridLookUpEdit1.ValueMember   = "Stock_ID";
     repositoryItemGridLookUpEdit1.BestFitMode   = BestFitMode.BestFitResizePopup;
     repositoryItemGridLookUpEdit2.DataSource    = new UNITController().UNIT_GetList();
     repositoryItemGridLookUpEdit2.DisplayMember = "Unit_Name";
     repositoryItemGridLookUpEdit2.ValueMember   = "Unit_ID";
     repositoryItemGridLookUpEdit2.BestFitMode   = BestFitMode.BestFitResizePopup;
     TagApp = _app;
 }