Пример #1
0
        // 权限功能维护
        private void btnRoleFounction_Click(object sender, EventArgs e)
        {
            string pageTitle = (sender as ToolStripMenuItem).Text;

            if (!cJiaTabControl1.isExistPage(pageTitle))
            {
                UI.RoleFunctionView user = new UI.RoleFunctionView();
                cJiaTabControl1.ShowPage(pageTitle, user);
            }
        }
Пример #2
0
        // 权限功能维护
        private void btnRoleFounction_Click(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string pageTitle = e.Item.Caption;

            if (!cJiaTabControl1.isExistPage(pageTitle))
            {
                UI.RoleFunctionView user = new UI.RoleFunctionView();
                cJiaTabControl1.ShowPage(pageTitle, user);
            }
        }