一个小的IF循环

            if (textBox1.Text != "")
            {
                button1.Text = "1不为空";
            }
            else if (textBox2.Text != "")
            {
                button1.Text = "2不为空";
            }
            else
            {
                button1.Text = "全空";
            }

posted on 2020-08-18 19:21  嗨!蜗牛兄  阅读(174)  评论(0)    收藏  举报

导航