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