是否已经有一些我可以使用的属性,例如:
if (this.IsDialog) { DialogResult = ...; } else { //do something else }
或者我应该创造这样的财产自己并将其设置为true展示形式对话框之前?
true
c# winforms
c# ×1
winforms ×1