什么相当于vb.net中的vb6 vbfromcode

时间:2015-10-29 07:28:54

标签: vb.net vb6 upgrade vb6-migration

我们正在将我们的vb6代码转换为vb.net并面对 vbFromCode 中的问题,该问题告诉表单是从代码关闭,而不是用户操作。请告诉我vb.net中等效的内容

1 个答案:

答案 0 :(得分:0)

请参阅表格的FormClosing事件中的Close.Reason。* e.CloseReason的值