private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Profile myProfile = new Profile(ID); myProfile.Show(); }