반응형
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
- PySpark
- matplotlib
- hive
- Tkinter
- gas
- Redshift
- SQL
- Java
- django
- c#
- math
- list
- 파이썬
- Apache
- array
- Github
- PostgreSQL
- PANDAS
- Python
- google apps script
- Google Excel
- Excel
- string
- Mac
- numpy
- GIT
- dataframe
- Google Spreadsheet
- Kotlin
Archives
- Today
- Total
목록MouseEventHandler (1)
달나라 노트
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cxg8w5/btryPqepMAj/yPzkktgqdd9kT8KiVMI0Ek/img.png)
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