DataTransSafeMonitor.cs
(开头部分) 21KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Threading;
namespace DataTransSafeMonitor
{
public partial class DataTransSafeMonitor : Form
{
#region 构造函数
public DataTransSafeMonitor()
{
InitializeComponent();
CheckForIllegalCrossThreadCalls = false;
}
#endregion
#region Load事件
private void DataTransSafeMonitor_Load(object sender, EventArgs e)
{
this.listBoxLog.Items.Add("程序开始运行");
this.listBoxLog.Items.Add("读取配置路径");
this.listBoxLog.Items.Add("-----------------------------------------------");
this.listBoxLog.Items.Add("等待数据文件...");
this.timerStart_Tick(sender, e);
Thread.Sleep(1000);
//FileTransfer();
}
#endregion
#region 退出程序
private void btnCancel_Click(object sender, EventArgs e)
{
Application.Exit();
}
#endregion
#region 文件转换
Conf cf = new Conf();
private void FileTransfer()
{
try
{
string filepathread= cf.TextBoxRead;
string filepathwrite=cf.TextBoxSave;
string copypath = cf.TextBoxCopy;
string iscopy = cf.IsCopy;
DirectoryInfo data = new DirectoryInfo(filepathread);
FileInfo[] fi = data.GetFiles("*.dat");
int defflag = 0;
foreach (FileInfo nextfile in fi)
{
后面还有 446 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。