Example #1
0
        private void nBI_TTCN_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            panelCha.Controls.Clear();
            ucFrmThanhVien frm = new ucFrmThanhVien(tdn);

            frm.Dock = System.Windows.Forms.DockStyle.Fill;
            panelCha.Controls.Add(frm);
        }
Example #2
0
        private void barbtnThanhVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            panelCha.Controls.Clear();
            ucFrmThanhVien frm = new ucFrmThanhVien(tdn);

            frm.Dock = System.Windows.Forms.DockStyle.Fill;
            panelCha.Controls.Add(frm);
        }