private void 新規作成ToolStripMenuItem_Click(object sender, EventArgs e) { this.settings = new Settings(); }
private void 標準の読み込みToolStripMenuItem_Click_1(object sender, EventArgs e) { try { this.settings = Settings.Load("settings.xml"); } catch { } }
private void 開くtoolStripMenuItem2_Click(object sender, EventArgs e) { if (this.openSettingsDialog.ShowDialog() == DialogResult.OK) { this.settings = Settings.Load(this.openSettingsDialog.FileName); } }