intNum=0;
privatevoidForm1_Load(objectsender,EventArgse)
{
namespace随机生成txt
{
publicpartialclassFrmMain:Form
{
publicFrmMain()
{
InitializeComponent();
}
privatevoidbutton1_Click(objectsender,EventArgse)
{
Num=Convert.ToInt32(numUd.Value);
Threadt=newThread(CreateTxt);
t.Start();
}
}
}

}
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;棋牌电脑版
txt随机生成器,用于随机生成多个txt文本文件的小程序,可以自定义生成数量。
展开

初三学生暑假兼职
有没有网上赚钱的事
家具贴膜市场挣钱吗
开实体店干什么能挣钱
共享航空公司赚钱吗
现在手机什么能赚钱
福州棋牌游戏平台
微信引流怎么变现
中青看点赚钱安全吗
做烧烤能赚钱吗
网游戏赚钱方法
娱乐八卦公众号赚钱吗
腾讯搬砖
棋牌室效果图手绘软件
别克gl8跑专车挣钱吗
37游戏灭神试玩
百家号怎么赚钱的
种苦瓜赚钱吗
哒哒兼职
超捷股份能赚多少