public SettingsForm(SettingsCallBack callback) { InitializeComponent(); this.comboCharSelection.SelectedIndex = Array.IndexOf(Keymap, Settings.CharSelection); this.comboReset.SelectedIndex = Array.IndexOf(Keymap, Settings.ResetKey); this.comboScreenshotKey.SelectedIndex = Array.IndexOf(Keymap, Settings.ScreenshotKey); this.comboStop.SelectedIndex = Array.IndexOf(Keymap, Settings.StopKey); this.comboToggleHotkey.SelectedIndex = Array.IndexOf(Keymap, Settings.ToggleHotkeys); this.textWindowTitle.Text = Settings.WindowTitle; this.textClassicProcess.Text = Settings.ClassicProcess; this.textRenewalProcess.Text = Settings.RenewalProcess; this.callback = callback; }