반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- array
- SQL
- Apache
- GIT
- Github
- django
- list
- Kotlin
- Google Spreadsheet
- math
- Python
- PANDAS
- Google Excel
- Redshift
- string
- PostgreSQL
- Excel
- Tkinter
- dataframe
- google apps script
- numpy
- 파이썬
- gas
- hive
- Java
- c#
- Mac
- PySpark
- matplotlib
Archives
- Today
- Total
목록key input (1)
달나라 노트
C# : KeyEventHandler (키보드 입력 이벤트, Keyboard input event, KeyDown, KeyUp)
C#에서 Keyboard로 어떤 키를 입력하는 Event를 처리해봅시다. using System; using System.Windows.Forms; class MyProgram { public static void Main() { Form fm = new Form(); fm.Text = "Sample Window"; fm.Width = 300; fm.Height = 200; Label lbl = new Label(); lbl.Text = "Welcome!"; lbl.Parent = fm; void fm_key_input(Object sender, KeyEventArgs e) { lbl.Text = e.KeyCode.ToString(); } fm.KeyDown += new KeyEventHandler(fm..
C#/C#
2022. 3. 30. 19:30