Пример #1
0
        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();
        }
Пример #2
0
 public UserControlTaiSan(DanhMucTaiSan father)
 {
     InitializeComponent();
     root = father;
 }