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 }); }
public SearchPresenter(SearchView view) { this.view = view; }
private void ordersMenuBtn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { var form = new Order.Search.SearchView(); form.MdiParent = this; form.Show(); }