/// <summary> /// Default form constructor. /// </summary> public FormMain() { InitializeComponent(); // Create two Presenters. Note: the form is the view. _customersPresenter = new CustomersPresenter(this); _ordersPresenter = new OrdersPresenter(this); }
/// <summary> /// Initializes a new instance of the <see cref="UserControlCustomerList"/> class. /// </summary> public UserControlCustomerList() { InitializeComponent(); _customersPresenter = new CustomersPresenter(this); }