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