using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace SiaSun.LMS.WPFClient.Dialog { /// /// RelationEdit.xaml 的交互逻辑 /// public partial class RelationEdit : AvalonDock.DocumentContent { string strRelationCode = string.Empty; string strWhere = string.Empty; string strOrderFields = string.Empty; /// /// 构造函数 /// /// 关系编码 /// 显示样式 /// 筛选条件 public RelationEdit(string RELATION_CODE, string WHERE,string OrderFields) { InitializeComponent(); strRelationCode = RELATION_CODE; strWhere = WHERE; strOrderFields = OrderFields; } private void DocumentContent_Loaded(object sender, RoutedEventArgs e) { this.ucRelationManage.U_RelationCode = this.strRelationCode; this.ucRelationManage.U_Where = this.strWhere; this.ucRelationManage.U_OrderFields = strOrderFields; this.ucRelationManage.U_InitControl(); } } }