Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ActionView        actionView    = new ActionView();
            ActionCodeService actionService = new ActionCodeService();
            IList             actionList    = actionService.getAllActionCodes();
            //actionList.Add(new ActionCode("1","a"));
            //actionList.Add(new ActionCode("2", "b"));
            ActionCodeController controller = new ActionCodeController(actionView, actionList);

            controller.LoadView();
            actionView.ShowDialog();;
        }
Exemplo n.º 2
0
 public void SetController(ActionCodeController controller)
 {
     this._controller = controller;
 }