| | |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="管道附件", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImage=svgImg32Model[8], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | |
| | | }, |
| | | new TilePeekItem(){ |
| | | Caption="管道管理", |
| | | SvgImage=svgImg32Model[7], |
| | | SvgImage=svgImg32Model[9], |
| | | SvgImageSize=new Size(24,24), |
| | | Click=()=>{ |
| | | this.flyoutPanel1.HideBeakForm(); |
| | |
| | | //添加 |
| | | 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); |
| | | } |
| | | } |
| | | } |