2 using System.Collections.Generic;
20 this.Settings = Settings;
22 InitializeComponent();
28 private void LoadData()
36 RomNameComboBox.Items.Clear();
37 RomNameComboBox.Items.AddRange(Settings.
RomNames.ToArray());
40 GlobalConfigFilenameComboBox.Items.Clear();
43 TableFilenameComboBox.Items.Clear();
44 TableFilenameComboBox.Items.Add(
"");
45 TableFilenameComboBox.Items.AddRange(Settings.
TableFilenames.ToArray());
48 private void SaveData()
55 foreach (
string Item
in RomNameComboBox.Items)
76 private void GlobalConfigFileSelectButton_Click(
object sender, EventArgs e)
78 SelectGlobalConfigFile();
83 private void TableFileSelectButton_Click(
object sender, EventArgs e)
89 private void SelectTableFile()
91 if (OpenTableFileDialog.ShowDialog(
this) == DialogResult.OK)
96 private void SelectGlobalConfigFile()
99 if (OpenGlobalConfigFileDialog.ShowDialog(
this) == DialogResult.OK)
109 get {
return RomNameComboBox.Text; }
110 set { RomNameComboBox.Text = value; }
117 get {
return GlobalConfigFilenameComboBox.Text; }
118 set { GlobalConfigFilenameComboBox.Text = value; }
125 get {
return TableFilenameComboBox.Text; }
126 set { TableFilenameComboBox.Text = value; }
129 private void TableFileClearButton_Click(
object sender, EventArgs e)
134 private void OKButton_Click(
object sender, EventArgs e)
List< string > TableFilenames
OpenConfigDialog(Settings Settings=null)
string LastGlobalConfigFilename
List< string > GlobalConfigFilenames
string GlobalConfigFilename