private void PictureBox15_Click(object sender, EventArgs e) { AddProfile p = new AddProfile(); p.FormClosing += new FormClosingEventHandler(updAdminProfileActions); p.Show(); }
private void addProfile(object sender, RoutedEventArgs e) { AddProfile addProfileForm = new AddProfile(this); addProfileForm.Show(); LockButtons(true); }