private void consultProfileToolStripMenuItem_Click(object sender, EventArgs e) { Profile profile = new Profile(user); profile.ShowDialog(); }
/// <summary> /// When the user presses the button, it redirects the user to the next window /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void consultProfile(object sender, EventArgs e) { Profile profile = new Profile(user); profile.ShowDialog(); }