コード例 #1
0
ファイル: ControlForm.cs プロジェクト: jonpickering/OrderMgt
        private void btnNewOrder_Click(object sender, EventArgs e)
        {
            IOrder            order     = new Order();
            NewOrderForm      screen    = new NewOrderForm();
            NewOrderPresenter presenter = new NewOrderPresenter(screen, order);

            screen.ShowDialog();
        }
コード例 #2
0
 public void Register(NewOrderPresenter presenter)
 {
     _presenter = presenter;
 }