private void ButtonCreate_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(TextboxProjectTypeName.Text)) { SettingsManager.AddProjectType(TextboxProjectTypeName.Text); DialogResult = DialogResult.OK; Close(); } }
private void ButtonCreate_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(TextboxProjectTypeName.Text)) { SettingsManager.AddProjectType(TextboxProjectTypeName.Text); DialogResult = DialogResult.OK; Close(); } }