コード例 #1
0
        public Form1()
        {
            InitializeComponent();
            _listener = new KeyHook();
            _listener.OnKeyPressed += _listener_OnKeyPressed;
            _listener.HookKeyboard();

            MakeTransparent(true);
            lastKey = String.Empty;

            LoadLocation();
            LoadSettings();

            Lines = new List <string>(4);
        }
コード例 #2
0
        public Form1()
        {
            InitializeComponent();
            _listener = new KeyHook();
            _listener.OnKeyPressed += _listener_OnKeyPressed;
            _listener.HookKeyboard();

            MakeTransparent(true);
            lastKey = String.Empty;

            LoadLocation();
            LoadSettings();


            sb = new StringBuilder();

            ver = $"{Application.ProductVersion.Split('.')[0]}.{Application.ProductVersion.Split('.')[1]}";
            ShowBalloon();
        }