| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- Gitea GPG
- theme
- 트레이아이콘
- 깃티설치
- unable to boot the simulator
- 시놀로지
- checkbox
- jellyfin
- 깃티gpg
- synology
- trayicon
- c#
- gfd
- 시놀로지깃티설치
- LogonUI
- 깃티
- Gitea 설치
- DataTable
- Capcom
- Column
- gitea설치
- 젤리핀
- Resident Evil
- Resident
- Header
- CmdKey
- toroisegit
- Re
- DataGridView
- gitea
- Today
- Total
목록c# (3)
C O D I N G
xml 내가사용했던것만.. 더 있지만 간단한것부터..
TrayIcon에서 우클릭했을떄랑, 좌클릭했을때 ContextMenu를 다르게 보는 방법 private void notifyIcon1_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { notifyIcon1.ContextMenuStrip = this.contextMenuStrip1; System.Reflection.MethodInfo methodInfo = typeof(NotifyIcon).GetMethod("ShowContextMenu", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic); methodInfo..
종료버튼 눌렀을 때 메시지 박스가 뜨면, 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..
