Example #1
0
        public Add(Task task)
        {
            InitializeComponent();
            tbTitle.Text       = task.Title;
            tbDescription.Text = task.Description;
            tbPerformer.Text   = task.Performer;
            tbHour.Text        = task.hour.ToString();
            tbMinutes.Text     = task.minutes.ToString();
            tbData.Text        = task.ToString();


            rtbTags.Text = task.TegsToString(task.Tags);
            task.Tags.Clear();

            task1 = task;
        }