摘要: 效果图: 主要代码xaml: .cs文件: 源码地址: https://files.cnblogs.com/files/chlm/%E5%88%BB%E5%BA%A6%E7%BA%BF.rar 阅读全文
posted @ 2018-08-09 20:19 灰主流 阅读(551) 评论(0) 推荐(0) 编辑
摘要: public class DeviceMonitor { /// <summary> /// % Processor Time 是所有进程线程使用处理器执行指令所花的时间百分比。指令是计算机执行的基础单位。线程是执行指令的对象,进程是程序运行时创建的对象。此计数包括处理某些硬件间隔和陷阱条件所执行的 阅读全文
posted @ 2018-08-09 20:11 灰主流 阅读(3416) 评论(5) 推荐(1) 编辑
摘要: using iTextSharp.text; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using iTextSharp.text.pdf; namespace Conso... 阅读全文
posted @ 2018-08-09 20:07 灰主流 阅读(482) 评论(0) 推荐(0) 编辑
摘要: <i:Interaction.Triggers> <i:EventTrigger EventName="MouseLeftButtonDown"> <i:InvokeCommandAction Command="{Binding Cmd,RelativeSource={RelativeSource 阅读全文
posted @ 2018-08-09 19:56 灰主流 阅读(720) 评论(0) 推荐(0) 编辑
摘要: public class FontOperate { [DllImport("kernel32.dll", SetLastError = true)] static extern int WriteProfileString(string lpszSection, string lpszKeyName, string lpszString); ... 阅读全文
posted @ 2018-08-09 19:55 灰主流 阅读(489) 评论(0) 推荐(0) 编辑