private void button1_Click(object sender, EventArgs e)
 {
     homeworkSched = new HomeworkSched();
     homeworkSched.Show();
     homeworkSched.BackColor = this.BackColor;
     this.Hide();
 }
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     homework = new HomeworkSched();
     homework.Show();
     homework.BackColor = this.BackColor;
     this.Hide();
 }
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     homeworkSched = new HomeworkSched();
     homeworkSched.Show();
     this.Hide();
 }