摘要:
string path = System.IO.Directory.GetCurrentDirectory();//相对路径 FileInfo fi = new FileInfo(path + @"\Data\unity.txt"); ////如果该文件存在需要删除重新写入 if (fi.Exists) { fi.Delete(); } StreamWriter... 阅读全文
posted @ 2017-08-12 22:15
TaoHu
阅读(363)
评论(0)
推荐(0)
摘要:
using System.Net.NetworkInformation; public string GetMacAddress() { string physicalAddress = ""; NetworkInterface[] nice = NetworkInterface.GetAllNetworkInterfaces... 阅读全文
posted @ 2017-08-12 22:10
TaoHu
阅读(2599)
评论(0)
推荐(0)
摘要:
当前窗口跳转另一个窗口,一般会隐藏当前窗口,再打开第二个窗口 当这个窗口点击关闭或者程序执行完毕,需要结束窗体 窗体居中 阅读全文
posted @ 2017-08-12 22:06
TaoHu
阅读(993)
评论(0)
推荐(0)
浙公网安备 33010602011771号