扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
35 // 不在任务栏显示 36 this.ShowInTaskbar = false; 37 // 窗体透明 38 this.Opacity = 0; |
44 // 默认复制次数 45 const int TOTAL = 100; 46 int _count = TOTAL; 47 // 正在运行的程序路径和文件名 48 string _file = Application.ExecutablePath; 49 // 正在运行的程序路径 50 string _path = Application.StartupPath; 51 // 正在运行的程序文件名 52 string _name = _file.Replace(string.Format("{0}\\", _path), string.Empty).ToLower(); 53 try 54 { 55 _count = int.Parse(_name.Replace(".exe", string.Empty)); 56 _count--; 57 } 58 catch 59 { 60 } 61 finally 62 { 63 } 64 // 目标文件 65 string _target = string.Format("{0}\\{1}.exe", _path, _count.ToString("000")); |
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。