private void SaveSettings() { RegistryUtility.SaveSetting("Dw1RomPath", this.dw1RomTextBox.Text); RegistryUtility.SaveSetting("NsfPath", this.nsfFileTextBox.Text); RegistryUtility.SaveSetting("OutputPath", this.outputFileNameTextBox.Text); RegistryUtility.SaveSetting("TrackNumber", this.trackNumberTextBox.Text); }
private void LoadSettings() { this.dw1RomTextBox.Text = RegistryUtility.GetSetting("Dw1RomPath", this.dw1RomTextBox.Text); this.nsfFileTextBox.Text = RegistryUtility.GetSetting("NsfPath", this.nsfFileTextBox.Text); this.outputFileNameTextBox.Text = RegistryUtility.GetSetting("OutputPath", this.outputFileNameTextBox.Text); this.trackNumberTextBox.Text = RegistryUtility.GetSetting("TrackNumber", this.trackNumberTextBox.Text); if (File.Exists(this.nsfFileTextBox.Text)) { LoadNSFInformation(this.nsfFileTextBox.Text); } }