예제 #1
0
        private void consultProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Profile profile = new Profile(user);

            profile.ShowDialog();
        }
예제 #2
0
        /// <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();
        }