반응형
DialogResult result = MessageBox.Show("초기화 시켜요", "초기화", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2);
if (result == DialogResult.Yes)
{
// 실행
}
간단한건데 한번씩 까먹는다.
반응형
'▩▩ 프로그래밍 ▩▩ > C#' 카테고리의 다른 글
| [C#] string --> int (0) | 2014.01.17 |
|---|---|
| [TeeChart] TeeChart tutorial (2) | 2013.11.26 |
| [C#] DataGridView 셀 가운데정렬 (0) | 2013.11.13 |
| [GMap] Custom Marker Color - 원하는 칼라로 변경 (0) | 2013.11.06 |
| [C#] 8 bit color(Hexadecimal code) --> color (0) | 2013.11.05 |
| [C#] ToolStrip의 ComboBox에서 SelectionChangeCommitted 쓰고싶을 때 (0) | 2013.10.28 |
| [C#] Combobox --> ReadOnly 만들기 (0) | 2013.10.28 |
| [C#] byte[] --> string / string --> byte[] (0) | 2013.10.16 |
![[나크21] 캐주얼 미니스커트 치마바지 NK21-P-10](https://image13.coupangcdn.com/image/affiliate/banner/a0874210c3b8ced08e8de1985ebfb8c9@2x.jpg)

