public override void OnPageLoad(object sender, EventArgs e) { queryVM = new PurchaseOrderBasketQueryVM(); serviceFacade = new PurchaseOrderBasketFacade(this); queryFilter = new PurchaseOrderBasketQueryFilter() { PageInfo = new QueryFilter.Common.PagingInfo() }; this.DataContext = queryVM; LoadComboBoxData(); base.OnPageLoad(sender, e); SetAccessControl(); }
void BasketImportDataView_Loaded(object sender, RoutedEventArgs e) { this.Loaded -= new RoutedEventHandler(BasketImportDataView_Loaded); serviceFacade = new PurchaseOrderBasketFacade(CPApplication.Current.CurrentPage); }