private void pictureBox4_Click(object sender, EventArgs e)
        {
            AddTaskInfoInBig adIB = new AddTaskInfoInBig();

            adIB.Show();

            TaskSer taskService = new TaskSer();
            Tasks   ts          = taskService.GetAllInfoByTaskID(Task_ID);

            adIB.SetAllInfo(ts);
        }
Exemple #2
0
        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            string taskName = listBox1.SelectedItem.ToString();

            String[] spearator = { "-" };

            String[] strlist = taskName.Split(spearator, StringSplitOptions.RemoveEmptyEntries);
            MessageBox.Show(strlist[0]);

            Tasks task = ts.GetAllInfoByTaskID(Convert.ToInt32(strlist[0]));

            AddTaskInfoInBig adBig = new AddTaskInfoInBig();

            adBig.Show();
            adBig.SetAllInfo(task);
        }