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(); }
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(); }
/// <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(); }