예제 #1
0
 private void btnNewProfile_Click(object sender, EventArgs e)
 {
     // Create new profile if profile name isn't blank
     if (!string.IsNullOrWhiteSpace(txtNewProfile.Text))
     {
         Profiles newProfile = new Profiles();
         newProfile.CreateProfile(txtNewProfile.Text);
     }
 }
예제 #2
0
 private void btnCreateProfile_Click(object sender, EventArgs e)
 {
     // Create new profile if profile name isn't blank
     if (!string.IsNullOrWhiteSpace(txtNewProfile.Text))
     {
         Profiles newProfile = new Profiles();
         newProfile.CreateProfile(txtNewProfile.Text);
     }
     txtNewProfile.Text = string.Empty;
     PopulateProfilesBox();
     tablessControl.SelectedTab = tabProfiles;
 }
예제 #3
0
 private void btnCreateProfile_Click(object sender, EventArgs e)
 {
     // Create new profile if profile name isn't blank
     if (!string.IsNullOrWhiteSpace(txtNewProfile.Text))
     {
         Profiles newProfile = new Profiles();
         newProfile.CreateProfile(txtNewProfile.Text);
     }
     txtNewProfile.Text = string.Empty;
     ProfileButtonVisibleChange(false);
     PopulateProfilesBox();
 }