Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserControlCustomerList"/> class.
 /// </summary>
 public UserControlCustomerList()
 {
     InitializeComponent();
     _customersPresenter = new CustomersPresenter(this);
 }