private void button3_Click(object sender, EventArgs e)
        {
            TaskToDoController TaskControl = new TaskToDoController();

            TaskControl.UpdateDataGridView(ref dataGridView1, ref label4, dateTimePicker2.Text);
        }
        //Void to add tasks to do list.
        private void button1_Click(object sender, EventArgs e)
        {
            TaskToDoController TaskControl = new TaskToDoController();

            TaskControl.AddTask(textBox1.Text, dateTimePicker1.Text, ref dataGridView1, ref label4);
        }