Пример #1
0
        private void OnHotKeyPressed(IHotKey sender, int hotkeyid)
        {
            if (window.IsVisible)
            {
                window.HideWindow();
                return;
            }
            pool.EnterScope();
            IProgramContext context = services.GetService <IProgramContext>();

            window.ClearInput();
            window.ShowWindow(context);
        }