| | |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="类型管理", |
| | | SvgImage=svgImg32Model[4], |
| | | new TilePeekItem(){ |
| | | Caption="管道附件", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | Modular="Asstes", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="TypeMgr", |
| | | Function="AdaptingMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysTypeManageMainPanel(); |
| | | var page=new AdaptingManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="分类管理", |
| | | SvgImage=svgImg32Model[5], |
| | | new TilePeekItem(){ |
| | | Caption="管道管理", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | Modular="Asstes", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="CataLogMgr", |
| | | Function="PipeLineMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysCatalogManageMainPanel(); |
| | | var page=new PipeLineManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, new TilePeekItem(){ |
| | | Caption="属性管理", |
| | | SvgImage=svgImg32Model[6], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="PropMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysPropManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | _SystemProductManageCtrl = peakItemList.CreatePeekCtrl(); |
| | | } |
| | |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="菜单管理", |
| | | SvgImage=svgImg32Model[4], |
| | | SvgImage=svgImg32Model[2], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysTypeManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="类型管理", |
| | | SvgImage=svgImg32Model[4], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="TypeMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysTypeManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="分类管理", |
| | | SvgImage=svgImg32Model[5], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="CataLogMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysCatalogManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, new TilePeekItem(){ |
| | | Caption="属性管理", |
| | | SvgImage=svgImg32Model[6], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Basic", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="PropMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new SysPropManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="字典类型", |
| | | SvgImage=svgImg32Model[1], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | | var guid=new PageGuid(){ |
| | | Modular="Dict", |
| | | MoudingType=eMoudingType.Tab, |
| | | Function="DictMgr", |
| | | }; |
| | | if(!IsExistPage(guid,true)) |
| | | { |
| | | var page=new HStation.WinFrmUI.Dict.DictManageMainPanel(); |
| | | CreatePage(page,guid); |
| | | } |
| | | } |
| | |
| | | //添加 |
| | | private void tabbedView1_DocumentAdded(object sender, DocumentEventArgs e) |
| | | { |
| | | if (this.tabbedView1.Documents.Count > 1) |
| | | { |
| | | this.navBtnPrevious.Visible = true; |
| | | this.navBtnNext.Visible = true; |
| | | } |
| | | } |
| | | |
| | | //激活 |
| | |
| | | var page = e.Document.Control as DocumentPage; |
| | | if (page == null) |
| | | return; |
| | | this.navBtnCurrent.ImageOptions.SvgImage = page.PageTitle.HeaderSvgImage; |
| | | this.navBtnCurrent.Caption = page.PageTitle.Caption; |
| | | } |
| | | |
| | | //关闭 此时控件已经为空 |
| | |
| | | // } |
| | | //} |
| | | //this.docPnlFuncList.Text = modular.ToString(); |
| | | //this.funcTreeListCtrl1.SetBindingData(modular, surfaceGuid); |
| | | //this.funcTreeListCtrl1.SetMatching(modular, surfaceGuid); |
| | | //if (surfaceGuid == null) |
| | | //{ |
| | | // var func = this.funcTreeListCtrl1.SetDefault(); |
| | |
| | | } |
| | | |
| | | #endregion Modular |
| | | |
| | | private void navBtnPrevious_ElementClick(object sender, NavElementEventArgs e) |
| | | { |
| | | this.tabbedView1.Controller.SelectNextTab(false); |
| | | } |
| | | |
| | | private void navBtnNext_ElementClick(object sender, NavElementEventArgs e) |
| | | { |
| | | this.tabbedView1.Controller.SelectNextTab(true); |
| | | } |
| | | } |
| | | } |