public static void SetSubject() { EnterSubjectForm form = new EnterSubjectForm(); var userSettings = ConfigManager.CurrentUserSpecific; form.SetPresentationSubjectText(userSettings.PresentationSubject ?? ""); if(form.ShowDialog() == DialogResult.OK) { userSettings.PresentationSubject = form.PresentationSubject; userSettings.Save(UserSpecificConfig.DefaultFileName); } }
public static void SetSubject() { EnterSubjectForm form = new EnterSubjectForm(); var userSettings = ConfigManager.CurrentUserSpecific; form.SetPresentationSubjectText(userSettings.PresentationSubject ?? ""); if (form.ShowDialog() == DialogResult.OK) { userSettings.PresentationSubject = form.PresentationSubject; userSettings.Save(UserSpecificConfig.DefaultFileName); } }