Exemplo n.º 1
0
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     groupControl1.ResetText();
     groupControl1.Text = "Đơn Bán Hàng";
     groupControl1.Controls.Clear();
     frmDBH      = new UC_DonBanHang();
     frmDBH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmDBH);//thêm user control vào panel
 }
Exemplo n.º 2
0
 public frmDonHangBan()
 {
     InitializeComponent();
     groupControl1.ResetText();
     groupControl1.Text = "Đơn Bán Hàng";
     groupControl1.Controls.Clear();
     frmDBH      = new UC_DonBanHang();
     frmDBH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmDBH);//thêm user control vào panel
 }