public void ShowChildForm(ModuleFunction fun)
 {
     WaiteServer.ShowWaite(this);
     Form frm = fun.LoadForm(this);
     frm.Text = fun.FunctionName;
     frm.Icon = LoadUIImage.LoadFormIcon(fun.FunctionPng);
     frm.Show();
     frm.Activate();
     // 设置当前 tab页的 图标,我这里也默认取navBar中的Item中的图标
     xtraTabbedMdiManager1.Pages[frm].Image = LoadUIImage.LoadMDIImg_TabPag(fun.FunctionPng);
     WaiteServer.CloseWaite();
     
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="FormType">子窗体类,必须继承自frmBaseFunction</param>
 /// <param name="Text">子窗体名称</param>
 /// <param name="PNGName">图片大小为64x64</param>
 public void AddFunction(Type FormType, string Text, string PNGName)
 {
     ModuleFunction fun = new ModuleFunction(FormType, Text, PNGName);
     funs.Add(fun);
 }