public SearchPresenter(SearchView view)
 {
     this.view = view;
     viewModel = new List<SearchViewModel>();
     statuses = orderStatusModel.GetAll().Distinct().ToList();
     statuses.Add(new OrderStatus("Все статусы"));
 }
 public SearchPresenter(SearchView view)
 {
     this.view = view;
     orders = new List<Domain.Entities.Order>();
     statuses = orderStatusModel.GetAll().Distinct().ToList();
     statuses.Add(new OrderStatus() { Status = defaultStatus });
 }
Beispiel #3
0
 public SearchPresenter(SearchView view)
 {
     this.view = view;
 }
Beispiel #4
0
 private void ordersMenuBtn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     var form = new Order.Search.SearchView();
     form.MdiParent = this;
     form.Show();
 }