반응형
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 | 31 |
Tags
- list
- Google Excel
- GIT
- Mac
- math
- Tkinter
- Redshift
- google apps script
- Github
- gas
- Google Spreadsheet
- Python
- Apache
- matplotlib
- numpy
- string
- PANDAS
- array
- Kotlin
- PySpark
- 파이썬
- Excel
- SQL
- PostgreSQL
- django
- dataframe
- hive
- Java
- c#
Archives
- Today
- Total
목록MouseEventHandler (1)
달나라 노트
C# : MouseEventArgs, MouseEventHandler (마우스 포인터 위치)
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