private void QueryPanelQueryConditionChanged(object sender, Silverlight.Events.QueryConditionChangedEventArgs e) { _beginDate = e.BeginTime; _endDate = e.EndTime; _accountType = e.AccountType; _consumer = e.Consumer; _keyword = e.Keyword; _accountCategory = e.AccountCategory; _showAccessorial = e.ShowAccessorial; QueryRecords(); }
private void QueryPanelQueryConditionChanged(object sender, QueryConditionChangedEventArgs e) { _begigDate = e.BeginTime; _endDate = e.EndTime; _consumer = e.Consumer; _accountType = e.AccountType; _keyword = e.Keyword; _showAccessorial = e.ShowAccessorial; if(e.AccountCategory != _accountCategory) { _accountCategory = e.AccountCategory; RecordsPager.PageIndex = 0; } QueryRecords(); }