Beispiel #1
0
        private void btnAddTask_Click(object sender, EventArgs e)
        {
            var newTask = new LikerTask(txtTarget.Text,
                                        int.Parse(txtCount.Text), mainWorker.AccountContainer, mainWorker);

            foreach (var line in txtLinks.Lines)
            {
                newTask.AddUri(line);
            }

            mainWorker.SetLikerTask(newTask);
            parentForm.SetLikerTaskInfo();
            Close();
        }