private void OpenBandingPage() { try { PopupPanel.Title = "Banding Page"; BandingPage bandingPage = new BandingPage(); bandingPage.CurrentApp = CurrentApp; bandingPage.PageParent = this; //加需要传入到绑定界面的内容 bandingPage.CurrentSelectObjectItem = mCurrentObjectItem; bandingPage.IntoThisPageWay = "0"; PopupPanel.Content = bandingPage; PopupPanel.IsOpen = true; } catch (Exception ex) { ShowException(ex.Message); } }
private void OpenBandingPageToModify() { try { PopupPanel.Title = "Banding Page"; BandingPage bandingPage = new BandingPage(); bandingPage.CurrentApp = CurrentApp; bandingPage.PageParent = this; bandingPage.CurrentKpiMapObjectInfoItem = mCurrentKpiMapObjectInfoItem; bandingPage.CurrentSelectObjectItem = mCurrentKpiMapObjectInfoItem.ObjectItem; bandingPage.IntoThisPageWay = "1"; PopupPanel.Content = bandingPage; PopupPanel.IsOpen = true; } catch (Exception ex) { ShowException(ex.Message); } }