예제 #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);
        }
예제 #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);
        }
예제 #3
0
 public frm_TaskUpdateProgress()
 {
     InitializeComponent();
     CustomFormController tmp=new CustomFormController(this, null);
     btn_Update.Click += tmp.TaskUpdateProgress;
 }