天天看點

c#窗體showdialog如何回傳ok

button有屬性 DialogResult

将“确定”鈕設為 "OK" 

取消”鈕設為"Cancel"就好