Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
winform プログラムの起動中にキーが押されました。プログラムの起動プロセス中にこのキーボード入力を読み取りたいと思います。どうやってやるの?
フォームの KeyPreviewをTrue に設定し、フォームのKeyPressまたはKeyDownイベントにコードを追加します。