Beispiel #1
0
        private void barUser_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            FrmUser frmtg = new FrmUser();

            frmtg.TopLevel = false;
            frmtg.Dock     = DockStyle.Fill;
            panelMain.Controls.Clear();
            panelMain.Controls.Add(frmtg);
            frmtg.Show();
        }
        private void barButtonItem5_ItemClick(object sender, ItemClickEventArgs e)
        {
            FrmUser frmtg = new FrmUser();

            frmtg.TopLevel = false;
            frmtg.Dock     = DockStyle.Fill;
            panelMain.Controls.Clear();
            panelMain.Controls.Add(frmtg);
            frmtg.Show();
        }