Ejemplo n.º 1
0
        public frm_OwnerChangeList(List<IUser> MemberList,string pUserId)
        {
            InitializeComponent();

            //Register event handlers
            CustomFormController controller = new CustomFormController(this, pUserId);
            btn_OK.Click += controller.UserSelectionListController;
            _UserId = pUserId;
            _MemberList = MemberList;
            controller.FillUserGrid(_projectId);
        }
Ejemplo n.º 2
0
        public frm_UserSelectionList(string pProjectId, string pUserId)
        {
            InitializeComponent();

            //Register event handlers
            CustomFormController controller = new CustomFormController(this, pUserId);
            btn_Add.Click += controller.UserSelectionListController;
            btn_OK.Click += controller.UserSelectionListController;
            btn_Remove.Click += controller.UserSelectionListController;
            _projectId = pProjectId;
            _UserId = pUserId;
            controller.FillUserGrid(_projectId);
        }