Example #1
0
        private void MnModify_Click(object sender, System.EventArgs e)
        {
            FrmModule win = new FrmModule(true, (Framework.Entity.Module)AdvTree.SelectedNode.Tag);

            win.RefreshIntance += new Framework.Interface.Authority.FrmModule.RefreshHandle(RefreshTree);
            win.ShowDialog();
        }
Example #2
0
        private void MnAdd_Click(object sender, System.EventArgs e)
        {
            FrmModule win = new FrmModule(false, new Framework.Entity.Module());

            win.RefreshIntance += new Framework.Interface.Authority.FrmModule.RefreshHandle(RefreshTree);
            win.ShowDialog();
        }
Example #3
0
        /// <summary>
        /// 功能管理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void mmModule_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            //write menu item click log
            MenuClickLog(e);
            if (IsExistWindow("FrmModule"))
            {
                return;
            }
            FrmModule frm = new FrmModule();

            frm.MdiParent = this;
            BindClickEventToAllBuutonControl(frm);
            SetStyleController(frm, styleController);
            frm.Show();
        }
Example #4
0
 private void MnModify_Click(object sender, System.EventArgs e)
 {
     FrmModule win = new FrmModule(true, (Framework.Entity.Module)AdvTree.SelectedNode.Tag);
     win.RefreshIntance += new Framework.Interface.Authority.FrmModule.RefreshHandle(RefreshTree);
     win.ShowDialog();
 }
Example #5
0
 private void MnAdd_Click(object sender, System.EventArgs e)
 {
     FrmModule win = new FrmModule(false, new Framework.Entity.Module());
     win.RefreshIntance += new Framework.Interface.Authority.FrmModule.RefreshHandle(RefreshTree);
     win.ShowDialog();
 }