07 2021 档案

摘要:控制台、app等桌面应用程序(兼容系统自启) 1 System.IO.Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName) web BS架构 System.AppDomain.CurrentDomain.Base 阅读全文
posted @ 2021-07-16 10:09 吃奶嘴的路飞 阅读(81) 评论(0) 推荐(0)
摘要:1 <Window x:Class="CommandDemo.MainWindow" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 3 xmlns:x="http://schemas.microsoft.com 阅读全文
posted @ 2021-07-15 10:46 吃奶嘴的路飞 阅读(128) 评论(0) 推荐(0)
摘要:/// <summary> /// 获取随机数种子 /// </summary> /// <returns></returns> private int GetRandomSeed() { byte[] seedBuffer = Guid.NewGuid().ToByteArray(); retur 阅读全文
posted @ 2021-07-13 17:14 吃奶嘴的路飞 阅读(45) 评论(0) 推荐(0)