public AddCustomerWinformsView(CustomerDao p_CustomerDao)
        {
            InitializeComponent();

            AddCustomerPresenter presenter = new AddCustomerPresenter(this, p_CustomerDao);
            m_presenter = presenter;

            m_customerDao = p_CustomerDao;
            registerToModelEvents();
        }
Exemplo n.º 2
0
        public AddCustomerView(ICustomerDao dao)
        {
            InitializeComponent();

            m_presenter = new AddCustomerPresenter(this, dao);
        }