Пример #1
0
 /// <summary>
 /// click event for the profile button
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnProfile_Click(object sender, EventArgs e)
 {   
     //call form's constructor and assign variable
     myProfileForm profile = new myProfileForm();
     //display profile form
     profile.ShowDialog();
 }
Пример #2
0
        /// <summary>
        /// click event for the profile button
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnProfile_Click(object sender, EventArgs e)
        {
            //call form's constructor and assign variable
            myProfileForm profile = new myProfileForm();

            //display profile form
            profile.ShowDialog();
        }