Ejemplo n.º 1
0
 public frmChuyenKho()
 {
     InitializeComponent();
     DateTimeChon_CT = "Hôm nay";
     DateTimeChon_TH = "Hôm nay";
     DatetimeFrom_CT = DateTime.Now;
     DatetimeTo_CT   = DateTime.Now;
     DatetimeFrom_TH = DateTime.Now;
     DatetimeTo_TH   = DateTime.Now;
     Table_THNH.Reset();
     Table_CTNH.Reset();
     if (FlagTH == 1)
     {
         Table_THNH      = frmTH.GridControlTable();
         DateTimeChon_TH = frmTH.DateTimeChon();
         DatetimeTo_TH   = frmTH.DateTimeFrom();
         DatetimeFrom_TH = frmTH.DateTimeTo();
     }
     if (FlagCT == 1)
     {
         Table_CTNH      = frmCT.GridControlTable();
         DateTimeChon_CT = frmCT.DateTimeChon();
         DatetimeTo_CT   = frmCT.DateTimeFrom();
         DatetimeFrom_CT = frmCT.DateTimeTo();
     }
     groupControl1.ResetText();
     groupControl1.Text = "Phiếu Chuyển Kho";
     groupControl1.Controls.Clear();
     frm      = new UC_PhieuChuyenKho();
     frm.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frm);//thêm user control vào panel
 }
Ejemplo n.º 2
0
 public void SuaChuaPhieuChuyenHang(string _data)
 {
     groupControl1.Text = "Phiếu Chuyển Kho";
     groupControl1.Controls.Clear();
     frm      = new UC_PhieuChuyenKho(this, _data);
     frm.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frm);//thêm user control vào panel
     navBarGroup3.Visible = true;
 }
Ejemplo n.º 3
0
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     navBarGroup3.Visible = true;
     groupControl1.ResetText();
     groupControl1.Text = "Phiếu Chuyển Kho";
     groupControl1.Controls.Clear();
     frm      = new UC_PhieuChuyenKho();
     frm.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frm);//thêm user control vào panel
 }