Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将处理程序添加到表单按钮以进行表单最小化?我的应用程序不使用窗口框架,我想在我的代码中处理窗口事件。
我怎样才能做到这一点?
Private Sub btnMin_Click(ByVal sender As Object, ByVal e As EventArgs) Me.WindowState = FormWindowState.Minimized End Sub