일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- GIT
- Apache
- django
- hive
- 파이썬
- Google Excel
- Excel
- SQL
- math
- dataframe
- Github
- Tkinter
- matplotlib
- array
- Java
- google apps script
- gas
- string
- c#
- numpy
- PySpark
- PostgreSQL
- PANDAS
- Kotlin
- Redshift
- Mac
- list
- Google Spreadsheet
- Python
- Today
- Total
목록event (2)
달나라 노트
MouseMove Event는 마우스가 움직일 때 발생하는 Event입니다. 보통 이런 Event는 실시간으로 마우스의 위치를 파악해야할 때 유용합니다. 아래 코드를 봅시다. using System; using System.Windows.Forms; using System.Drawing; class Sample2 { public static void Main() { Form fm = new Form(); fm.ClientSize = new Size(300, 250); Label lbl = new Label(); lbl.Parent = fm; lbl.Width = 200; lbl.Height = 30; void mouse_realtime_location(object sender, MouseEventArgs..
마우스 클릭, 마우스의 위치 변화, 키보드 입력 등 사용자로부터 발생한 어떠한 변화를 이벤트(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); } } 코드를 실행하면 위 이미지..