上一页 1 2 3 4 5 6 7 8 9 ··· 47 下一页
摘要: 常用监控系统介绍 Cacti cacti(英文含义为仙人掌)是一套基于 PHP、MySQL、SNMP 和 RRDtool 开发的网络流量监测图形分析工具。它通过 snmpget 来获取数据,使用 RRDTool 绘图,但使用者无须了解 RRDTool 复杂的参数。它提供了非常强大的数据和用户管理功能 阅读全文
posted @ 2025-03-19 10:16 Hey,Coder! 阅读(164) 评论(0) 推荐(0)
摘要: 添加代理 public class BindingProxy:Freezable { protected override Freezable CreateInstanceCore() { return new BindingProxy(); } public object DataContext 阅读全文
posted @ 2025-03-12 10:56 Hey,Coder! 阅读(19) 评论(0) 推荐(0)
摘要: [DllImport("kernel32.dll")] static extern bool GenerateConsoleCtrlEvent(int dwCtrlEvent, int dwProcessGroupId); [DllImport("kernel32.dll")] static ext 阅读全文
posted @ 2025-03-05 22:35 Hey,Coder! 阅读(126) 评论(0) 推荐(0)
摘要: 通过Blend复制原有样式后修改 <Style x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}"> <Setter Property="OverridesDefaultStyle" Value="true"/> <Sett 阅读全文
posted @ 2025-03-02 16:00 Hey,Coder! 阅读(274) 评论(0) 推荐(0)
摘要: NAudio var enumerator = new MMDeviceEnumerator(); var devices = enumerator.EnumerateAudioEndPoints(DataFlow.Capture, DeviceState.All); foreach (var de 阅读全文
posted @ 2025-03-01 17:33 Hey,Coder! 阅读(135) 评论(0) 推荐(0)
摘要: 通过自定义变换,使用此方法画笔擦除模式为EraseByPoint时无法按点擦除(可以考虑第二种方案) <InkCanvas x:Name="inkCanvas" Background="White" > <InkCanvas.DefaultDrawingAttributes> <!--<Drawin 阅读全文
posted @ 2025-02-25 23:02 Hey,Coder! 阅读(59) 评论(0) 推荐(0)
摘要: // 克隆一个现有的文化 CultureInfo customCulture = (CultureInfo)CultureInfo.GetCultureInfo("zh-CN").Clone(); // 修改时间显示格式 customCulture.DateTimeFormat.ShortDateP 阅读全文
posted @ 2025-02-25 10:20 Hey,Coder! 阅读(55) 评论(0) 推荐(0)
摘要: 前台 <Window x:Class="FinalTest.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winf 阅读全文
posted @ 2025-02-23 21:33 Hey,Coder! 阅读(53) 评论(0) 推荐(0)
摘要: 配置属性如下 直接翻译文本即可 阅读全文
posted @ 2025-02-22 00:57 Hey,Coder! 阅读(69) 评论(0) 推荐(0)
摘要: 引用surfer安装后自动添加的com组件 代码调用 using Surfer; Application app = new Application(); var path = AppDomain.CurrentDomain.BaseDirectory; app.GridData2(DataFile 阅读全文
posted @ 2025-02-11 16:02 Hey,Coder! 阅读(127) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 47 下一页