void addLichHen() { LichhHen lh = new LichhHen(); lh.TopLevel = false; tab_LichHen.Controls.Add(lh); lh.Show(); }
private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { LichhHen lh = new LichhHen(); lh.TopLevel = false; pannel_cuahang.Controls.Add(lh); lh.Show(); }