AboutBox OK按钮不起作用 [英] AboutBox OK button doesn't work
问题描述
执行应用程序时。它显示但OK没有关闭窗口
When I execute the application. It shows but the OK doesnt close the window
我可以通过"x"关闭窗口。角落里的按钮
I can close the window by the "x" button in corner
private void ButtonAboutApplication_Click(对象发件人,EventArgs e)
      {
          AboutBox1 a = new AboutBox1();
          a.Show();
      }
private void ButtonAboutApplication_Click(object sender, EventArgs e)
{
AboutBox1 a = new AboutBox1();
a.Show();
}
推荐答案
您好,
Hello,
在代码中,您提供缺少的课程代码 < span style ="color:#333333; font-family:'Segoe UI','Lucida Grande',Verdana,Arial,Helvetica,sans-serif; font-size:14px"> AboutBox1和Ok按钮的处理程序。
In code you provide missing code for class AboutBox1 and handler for Ok button.
如果没有这个不可能解释你的表格中的错误。
这篇关于AboutBox OK按钮不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!