AboutBox OK按钮不起作用 [英] AboutBox OK button doesn't work

查看:78
本文介绍了AboutBox OK按钮不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

执行应用程序时。它显示但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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆