Exemplo n.º 1
0
        private void navBarItemKH_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            paneload.Controls.Clear();
            frmKH frmkh = new frmKH();

            frmkh.Dock          = DockStyle.Fill;
            frmkh.TopLevel      = false;
            frmkh.TopMost       = true;
            frmkh.MaximizeBox   = true;
            frmkh.MinimizeBox   = false;
            frmkh.StartPosition = FormStartPosition.CenterScreen;
            paneload.Controls.Add(frmkh);
            frmkh.Show();
        }
Exemplo n.º 2
0
 public frmXuLyQuanlyKH(frmKH kh)
 {
     InitializeComponent();
     frm = kh;
 }