摘要: public PingReply PingTest(string ip) { PingReply reply = null; Ping pingSender = null; try { pingSender = new Ping(); PingOptions options = new PingOp 阅读全文
posted @ 2020-04-16 16:45 寒夜美美 阅读(863) 评论(0) 推荐(0) 编辑
摘要: RadioButton radio = sender as RadioButton; courseHoursList.Items.SortDescriptions.Clear(); if (radio.Name == "sort_asc") { courseHoursList.Items.SortD 阅读全文
posted @ 2020-04-16 16:41 寒夜美美 阅读(363) 评论(0) 推荐(0) 编辑
摘要: public class ListviewIndexConvert : IValueConverter { public object Convert(object value, Type TargetType, object parameter, CultureInfo culture) { Li 阅读全文
posted @ 2020-04-16 16:35 寒夜美美 阅读(1044) 评论(0) 推荐(1) 编辑
摘要: <UserControl x:Class="CustomControl.Carousel2DView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof 阅读全文
posted @ 2020-04-16 16:32 寒夜美美 阅读(1763) 评论(0) 推荐(0) 编辑
摘要: <UserControl x:Class="CustomControl.LoadingWait" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c 阅读全文
posted @ 2020-04-16 16:26 寒夜美美 阅读(778) 评论(0) 推荐(0) 编辑
摘要: 一:简单常见 //window1.xaml <Window x:Class="progressbartest.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://sche 阅读全文
posted @ 2020-04-16 16:22 寒夜美美 阅读(1979) 评论(1) 推荐(0) 编辑
摘要: 1.在管理Nuget程序包中下载DynamicDataDisplay 2.XAML代码: 添加命名空间:xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0" <Window x:Class="WpfCPUDemo.MainWi 阅读全文
posted @ 2020-04-16 16:10 寒夜美美 阅读(331) 评论(0) 推荐(0) 编辑