public ResearchEditDlg(IBaseWindow baseWin) { InitializeComponent(); btnAccept.Image = UIHelper.LoadResourceImage("Resources.btn_accept.gif"); btnCancel.Image = UIHelper.LoadResourceImage("Resources.btn_cancel.gif"); fTasksList = new GKSheetList(pageTasks); fTasksList.OnModify += ListTasksModify; fCommunicationsList = new GKSheetList(pageCommunications); fCommunicationsList.OnModify += ListCommunicationsModify; fGroupsList = new GKSheetList(pageGroups); fGroupsList.OnModify += ListGroupsModify; fNotesList = new GKSheetList(pageNotes); SetLocale(); fController = new ResearchEditDlgController(this); fController.Init(baseWin); fTasksList.ListModel = new ResTasksSublistModel(baseWin, fController.LocalUndoman); fCommunicationsList.ListModel = new ResCommunicationsSublistModel(baseWin, fController.LocalUndoman); fGroupsList.ListModel = new ResGroupsSublistModel(baseWin, fController.LocalUndoman); fNotesList.ListModel = new NoteLinksListModel(baseWin, fController.LocalUndoman); }