using System.Windows; namespace SSWMS.Client { public partial class STORAGE_ALL : AvalonDock.DocumentContent { public STORAGE_ALL() { InitializeComponent(); DocumentContent_Loaded(null, null); } private void DocumentContent_Loaded(object sender, RoutedEventArgs e) { this.ucStorage.dgData.U_WindowName = "COMMON"; this.ucStorage.dgData.U_XmlTableName = "V_STORAGE_LIST"; this.ucStorage.dgData.U_TableName = "V_STORAGE_LIST"; this.ucStorage.dgData.U_OrderField = "GOODS_CLASS,STORAGE_ID,STORAGE_LIST_ID"; //this.ucStorage.dgData.U_TotalColumnName = "STORAGE_LIST_QUANTITY"; this.ucStorage.dgData.U_AllowOperatData = false; this.ucStorage.U_InitControl(); } } }