private void buttonChanges_Click(object sender, EventArgs e) { //change window + notiication FormStudent_ViewChanges viewChange = new FormStudent_ViewChanges(userStudnet.getUserID()); viewChange.Show(); userStudnet.setNotification(false); pictureBox1.Visible = false; SQLFunctions.ChangeStudentNotificationState(new List <int> { userStudnet.getUserID() }, "False"); }