标题:哪位大神帮忙看看这个窗体程序哪里错了
取消只看楼主
二琪
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2016-12-20
 问题点数:0 回复次数:0 
哪位大神帮忙看看这个窗体程序哪里错了
using System;using System.Collections.Generic;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace WindowsFormsApplication4{    public partial class Form1 : Form    {        public Form1()        {            InitializeComponent();        }        private void textBox2_TextChanged(object sender, EventArgs e)        {        }        private void button1_Click(object sender, EventArgs e)        {            int a, b, c,j,i=0;            a = int.Parse(textBox1.Text);            b = int.Parse(textBox2.Text);            for (c = a; c <= b;c++);            {                if (c % 3 == 0 && c % 5 == 0 && c % 100 != 0);                textBox3 .Text =textBox3 .Text +c.ToString()+'\t';                    i++;                    if (i % 5 == 0) ;                    {                        textBox3 .Text +="\r\n";                    }                }            }        }    }
搜索更多相关主题的帖子: private public 
2016-12-20 23:00



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-472686-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.172185 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved