Beispiel #1
0
        public AddTaskForm(ITaskRequester caller, TaskModel incomingModel)
        {
            InitializeComponent();

            callingForm = caller;
            model       = incomingModel;
            updateModel = true;

            this.Text               = $"Edit { incomingModel.ProjectName }";
            TaskNameValue.Text      = incomingModel.ProjectName;
            DescriptionValue.Text   = incomingModel.Description;
            EstimatedTimeValue.Text = incomingModel.EstimatedTimeToComplete.ToString();
        }
Beispiel #2
0
        public AddTaskForm(ITaskRequester caller)
        {
            InitializeComponent();

            callingForm = caller;
        }