Inheritance: System.Windows.Forms.Form
 /// <summary>
 /// Opens the dialog to create a new profile
 /// </summary>
 private void NewProfileBtn_Click(object sender, EventArgs e)
 {
     using (NewProfilePrompt Form = new NewProfilePrompt())
     {
         if (Form.ShowDialog() == DialogResult.OK)
         {
             LoadProfiles();
             ProfileSelector.SelectedIndex = Profiles.IndexOf(NewProfilePrompt.LastProfileName);
         }
     }
 }
 /// <summary>
 /// Opens the dialog to create a new profile
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void NewProfileBtn_Click(object sender, EventArgs e)
 {
     NewProfilePrompt Form = new NewProfilePrompt();
     if (Form.ShowDialog() == DialogResult.OK)
     {
         LoadProfiles();
         ProfileSelector.SelectedIndex = Profiles.IndexOf(NewProfilePrompt.LastProfileName);
     }
 }