Exemplo n.º 1
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            FormCreate formCreate = new FormCreate();

            formCreate.ShowDialog();
            formCreate.Order.Customer = new Customer(CusName);
            orderService.AddOrder(formCreate.Order);
        }
Exemplo n.º 2
0
 public ControllerFormCreate(FormCreate sender)
 {
     _form   = sender;
     _habits = HabitList.Initialize();
 }