| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- CmdKey
- 트레이아이콘
- DataGridView
- Header
- 시놀로지
- checkbox
- Resident Evil
- Re
- toroisegit
- gitea설치
- Capcom
- LogonUI
- 깃티gpg
- DataTable
- 시놀로지깃티설치
- 깃티
- gfd
- synology
- theme
- Column
- Gitea 설치
- trayicon
- 깃티설치
- 젤리핀
- jellyfin
- gitea
- Gitea GPG
- c#
- unable to boot the simulator
- Resident
Archives
- Today
- Total
목록MessageBox (1)
C O D I N G
메시지박스 자동 종료하기
종료버튼 눌렀을 때 메시지 박스가 뜨면, 1000ms(1s)후에 자동 종료되는 형태이다. 다른 방법도 있지만 Action으로 사용 하는 방법 private void MessageBoxFormClosing(Form fm) { if (fm.InvokeRequired) { Action closeform = new Action(MessageBoxFormClosing); this.Invoke(closeform, fm); } else { if (fm != null) fm.Close(); } } private void button1_Click(object sender, EventArgs e) { Form msgfm = new Form(); Action clse = new Action(() = > { while (tr..
Programming/C#
2016. 4. 24. 01:58