Пример #1
0
        public TaskEditor(string taskID, string taskTypeName, ITaskEditorView taskEditorView)
        {
            this.view = taskEditorView;
            view?.Init(this);

            _curTaskData.strID = taskID;
            InitByTaskType(taskTypeName.ToString());
        }
Пример #2
0
        public TaskEditor(ST_TaskData taskData, ITaskEditorView taskEditorView)
        {
            this.view = taskEditorView;
            view?.Init(this);

            this._curTaskData = taskData;
            InitByTaskType(taskData.strTaskTypeName);
        }