private void add_Click(object sender, EventArgs e) { CryptoEditorProfileForm form = new CryptoEditorProfileForm(); if (form.ShowDialog() == DialogResult.OK) { CryptoEditorProfile newProfile = new CryptoEditorProfile( form.ProfileName, "", form.Password ); newProfile.Save(); LoadProfiles(); } }