Ejemplo n.º 1
0
 private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     groupControl1.ResetText();
     groupControl1.Text = "Khách Trả Hàng";
     groupControl1.Controls.Clear();
     frmKTH      = new UC_KhachTraHang();
     frmKTH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmKTH);//thêm user control vào panel
 }
Ejemplo n.º 2
0
 public frmKhachTraHang()
 {
     InitializeComponent();
     groupControl1.ResetText();
     groupControl1.Text = "Khách Trả Hàng";
     groupControl1.Controls.Clear();
     frmKTH      = new UC_KhachTraHang();
     frmKTH.Dock = DockStyle.Fill;
     groupControl1.Controls.Add(frmKTH);//thêm user control vào panel
 }