private void event_OnSettings(object sender, EventArgs e) { using (var f = new SettingsForm()) { f.SettingsChanged += (s, scea) => { _connectionmanager.Reconnect(DDCore.GetConnectionInfo()); }; f.ShowDialog(); } }
public void Start() { _hotkeymanager.Register(DDHotkeyType.DialSelectionFromActiveWindow, DDHotkey.Parse(Properties.Settings.Default.GlobalDialHotkey)); _connectionmanager.Connect(DDCore.GetConnectionInfo()); }