private void btDanhMucTaiSan_Click(object sender, EventArgs e) { showLoad1(); panelLoad1.Controls.Clear(); DanhMucTaiSan fr = new DanhMucTaiSan(IDUser, this) { Dock = DockStyle.Fill, TopLevel = false, TopMost = true }; panelLoad1.Controls.Add(fr); fr.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; fr.Dock = DockStyle.Fill; fr.Show(); }
public UserControlTaiSan(DanhMucTaiSan father) { InitializeComponent(); root = father; }