반응형
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 |
Tags
- Python
- 파이썬
- google apps script
- GIT
- c#
- gas
- PySpark
- string
- matplotlib
- numpy
- Google Spreadsheet
- dataframe
- PostgreSQL
- Google Excel
- PANDAS
- list
- Excel
- hive
- Tkinter
- Mac
- Java
- Redshift
- Github
- array
- Kotlin
- Apache
- math
- django
- SQL
Archives
- Today
- Total
목록eventhandler (1)
달나라 노트
C# : EventHandler (마우스 이벤트 처리) (Window 클릭, 버튼 클릭, 마우스 오버, Window click, Button click, mouse over)
마우스 클릭, 마우스의 위치 변화, 키보드 입력 등 사용자로부터 발생한 어떠한 변화를 이벤트(Event)라고 합니다. C#에서는 "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; Application.Run(fm); } } 코드를 실행하면 위 이미지..
C#/C#
2022. 3. 30. 19:12