반응형
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
- Excel
- matplotlib
- 파이썬
- django
- string
- PANDAS
- GIT
- Github
- PostgreSQL
- Google Excel
- c#
- dataframe
- hive
- Apache
- SQL
- Tkinter
- math
- PySpark
- Redshift
- Python
- google apps script
- Mac
- Kotlin
- array
- list
- numpy
- gas
- Java
- Google Spreadsheet
Archives
- Today
- Total
목록ShowDialog (1)
달나라 노트
C# : ShowDialog, Show (새로운 Window 띄우기)
Form class는 어떠한 Window를 띄우기 위해 사용해왔습니다. 근데 어떤 버튼을 누르면 새로운 Window가 뜨게 하는 기능을 가진 프로그램도 있죠. 이번에는 이렇게 새로운 Window를 표시하는 방법을 보겠습니다. 아래 코드를 봅시다. using System; using System.Windows.Forms; class MyProgram { public static void Main() { Form fm = new Form(); fm.Width = 500; fm.Height = 300; Button btn = new Button(); btn.Parent = fm; btn.Text = "Button"; Form sub_fm = new Form(); sub_fm.Width = 400; sub_fm..
C#/C#
2022. 4. 4. 21:08