예제 #1
0
        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);
        }
예제 #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);
        }
예제 #3
0
 public AddTaskInfoInBig()
 {
     addTaskInfoBig = this;
     InitializeComponent();
 }