본문 바로가기
프로그래밍/C# (WinForms)

C#, WinForms ] MessageBox 속성

by eteo 2023. 2. 25.

 

 

 

 

private void button2_Click(object sender, EventArgs e)
{
    MessageBox.Show("Do you want to delete?", 
    				"DELETE", 
                    MessageBoxButtons.YesNoCancel, 
                    MessageBoxIcon.Question, 
                    MessageBoxDefaultButton.Button1);
}