intNum=0;
privatevoidForm1_Load(objectsender,EventArgse)
{
privatevoidbutton1_Click(objectsender,EventArgse)
{
Num=Convert.ToInt32(numUd.Value);
Threadt=newThread(CreateTxt);
t.Start();
}
}
}
txt随机生成器,用于随机生成多个txt文本文件的小程序,可以自定义生成数量。有摆脱的金玉棋牌
voidCreateTxt()
{
for(inti=0;i<Num;i++)
{
StreamWritersw=newStreamWriter(i.ToString()+".txt");
sw.WriteLine(i.ToString()+""+DateTime.Now.ToString());
sw.Close();
}
MessageBox.Show("生成完毕!");
}
}

usingSystem;
usingSystem.Collections.Generic;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Text;
usingSystem.Windows.Forms;
usingSystem.IO;
usingSystem.Threading;
namespace随机生成txt
{
publicpartialclassFrmMain:Form
{
publicFrmMain()
{
InitializeComponent();
}
展开

做qq空间赚钱吗
利升国际棋牌怎么了
中山做什么小生意好
发四方棋牌会所 交通
街电怎么赚钱
妙趣棋牌作弊器下载
屠龙团队网赚实战教程
花生日记真能挣钱吗
会展公司能赚多少钱
在家做事可以赚钱
任丘棋牌圈子最新版本
农村赶集卖什么利润高又好卖
玩玩呗棋牌
互联网赚钱项目
手机赚钱软件5元提现
最新热门小生意
塞尔达赚钱方法
无限赚钱软件
外卖配送站能赚多少钱
骏游斗地主赚下载