示例#1
0
        public MyForm(MyFormController controller, MyControl myControl)
        {
            this.Controller = controller;

            this.myControl = myControl;

            controller.Register(myControl.Controller);
            controller.Register(this);
        }
        public MyForm(MyFormController controller, MyControl myControl)
        {
            this.Controller = controller;

            this.myControl = myControl;

            controller.Register(myControl.Controller);
            controller.Register(this);
        }