/// <param name="tvc"></param> public TweakToolbar(ITeamViewerCollection tvc) { if (tvc == null) { throw new ArgumentException("Collection cannot be as null", "tvc"); } data = tvc; }
private void tweaksInit(ITeamViewerCollection tvs) { tvs.findAll(); twToolbar = new TweakToolbar(tvs); twScreen = new TweakScreen(tvs); Modifiers mcomb = Modifiers.ControlKey | Modifiers.AltKey | Modifiers.ShiftKey; try { hotKeys.register(mcomb, Keys.F12); hotKeys.register(mcomb, Keys.F11); hotKeys.register(mcomb, Keys.F10); hotKeys.register(mcomb, Keys.F9); hotKeys.register(mcomb, Keys.F1); } catch (Exception ex) { log.info(ex.Message); } }