반응형
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
- 파이썬
- list
- PySpark
- SQL
- Tkinter
- dataframe
- Google Spreadsheet
- matplotlib
- Java
- Python
- PostgreSQL
- google apps script
- django
- Google Excel
- numpy
- hive
- Apache
- array
- Excel
- Mac
- Kotlin
- c#
- math
- GIT
- Redshift
- string
- Github
- PANDAS
- gas
Archives
- Today
- Total
목록MouseEventHandler (1)
달나라 노트
MouseEventArgs를 사용해봅시다. 아래 코드는 Form의 어느 위치를 클릭하면 그 위치의 X, Y 좌표를 나타내주는 코드입니다. using System; using System.Windows.Forms; class MyProgram { public static void Main() { Form fm = new Form(); fm.Width = 500; fm.Height = 300; Label lbl = new Label(); lbl.Parent = fm; lbl.Width = 300; lbl.Height = 20; void fm_click(object sender, MouseEventArgs e) { String x = e.X.ToString(); String y = e.Y.ToString();..
C#/C#
2022. 4. 8. 22:16