반응형
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 |
Tags
- matplotlib
- PANDAS
- Tkinter
- SQL
- math
- dataframe
- PostgreSQL
- Redshift
- c#
- numpy
- Mac
- array
- list
- Kotlin
- Python
- django
- GIT
- hive
- PySpark
- Google Excel
- string
- google apps script
- Github
- gas
- Java
- 파이썬
- Google Spreadsheet
- Excel
- Apache
Archives
- Today
- Total
목록KeyEventHandler (1)
달나라 노트

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