Beispiel #1
0
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     groupControl1.ResetText();
     groupControl1.Text = "Đơn Mua Hàng";
     groupControl1.Controls.Clear();
     frmDHM      = new UC_DonMuaHang();
     frmDHM.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmDHM);//thêm user control vào panel
 }
Beispiel #2
0
 public frmDonMuaHang()
 {
     InitializeComponent();
     groupControl1.ResetText();
     groupControl1.Text = "Đơn Mua Hàng";
     groupControl1.Controls.Clear();
     frmDHM      = new UC_DonMuaHang();
     frmDHM.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmDHM);//thêm user control vào panel
 }