private void UserList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (userInformationForm != null)
     {
         userInformationForm.Dispose(); // disposing of any open child form with previous information
     }
     // Requesting new child with updated information
     userInformationForm = new UserInformationTemplateForm(userList.SelectedCells[0].Value.ToString());
     userInformationForm.Show();
 }
 private void ProfileButton_Click(object sender, EventArgs e)
 {
     if (userInformationForm != null)
     {
         userInformationForm.Dispose(); // disposing of any open child form with previous information
     }
     // Requesting new child with updated information
     userInformationForm = new UserInformationTemplateForm(SystemResources.UserInSession.Username);
     userInformationForm.Show();
 }