Visual Basic 在删除 windows 默认边框时关闭窗体
Visual Basic close a form when windows default border has been removed
我在 Visual Studio 2019 年使用 Visual Basic。我制作了一个文字处理器并且工作正常,但现在我正试图摆脱 windows 默认边框并制作我的自己的关闭按钮。
我过去一直在使用它,当时我的 windows 默认边框仍然存在:
Me.Close
不断出现的错误是:
Property access must assign to the property or use its value.
谢谢。
你应该使用 End
。
它每隔 windows 关闭一次并停止应用程序。
我在 Visual Studio 2019 年使用 Visual Basic。我制作了一个文字处理器并且工作正常,但现在我正试图摆脱 windows 默认边框并制作我的自己的关闭按钮。
我过去一直在使用它,当时我的 windows 默认边框仍然存在:
Me.Close
不断出现的错误是:
Property access must assign to the property or use its value.
谢谢。
你应该使用 End
。
它每隔 windows 关闭一次并停止应用程序。