按钮单击事件并重新启动问题

时间:2017-07-29 14:18:19

标签: c#

我已经能够让我的退出按钮工作,但没有其他人。我尝试以相同的方式编码其他按钮,但是我收到了错误。即使我删除了该代码,程序也会不断重启。有人可以告诉我其他按钮和重启问题我出错了吗?

namespace Module10Project
{
    public partial class frmRadioStar : Form
    {
        public frmRadioStar()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            txtBx1.Text = "";
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {
            txtBx2.Text = "";
        }

        private void listView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            listView1.Text = "";
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void rdoAdd_CheckedChanged(object sender, EventArgs e)
        {

        }

        private void btnCalc_Click(object sender, EventArgs e)
        {

        }

        private void btnReset_Click(object sender, EventArgs e)
        {

            {
                Application.Reset();
            }
        }



        private void rdoSub_CheckedChanged(object sender, EventArgs e)
        {

        }
    }
}

0 个答案:

没有答案