上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 56 下一页
摘要: 主界面 <Window x:Class="MyWPFSimple2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2022-11-20 19:49 double64 阅读(780) 评论(0) 推荐(0)
摘要: TimeSpan timeSpan = DateTime.Now.TimeOfDay; 阅读全文
posted @ 2022-11-18 17:26 double64 阅读(335) 评论(0) 推荐(0)
摘要: 1.首先添加引用 System.Windows.Forms.dll WindowsFormsIntegration.dll System.Windows.Forms.DataVisualization.dll 2.xaml添加命名空间 xmlns:wfi="clr-namespace:System. 阅读全文
posted @ 2022-11-18 14:23 double64 阅读(1686) 评论(0) 推荐(0)
摘要: 安装 Nuget 包 ▲ 这个没什么说的。 log4net.config 右键项目新建程序配置: log4net.config <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!--配置节点--> <s 阅读全文
posted @ 2022-11-14 08:47 double64 阅读(349) 评论(0) 推荐(1)
摘要: ▲ https://www.cnblogs.com/chillsrc/p/4482691.html 阅读全文
posted @ 2022-11-12 19:42 double64 阅读(88) 评论(0) 推荐(0)
摘要: 经常要考虑的,后台的耗时操作不要卡死主界面的问题。 <StackPanel VerticalAlignment="Center"> <Label x:Name="lblHello">欢迎你光临WPF的世界!</Label> <Button Name="btnThd" Click="btnThd_Cl 阅读全文
posted @ 2022-11-12 17:34 double64 阅读(475) 评论(0) 推荐(0)
摘要: byte[] a = { 1, 2, 3 }; byte[] b = { 99, 3, 2, 1, 99 }; byte[] c = { 0, 0 }; byte[] ab = a.Concat(b).Concat(c).ToArray(); foreach (byte v in ab) { Con 阅读全文
posted @ 2022-11-10 11:34 double64 阅读(1273) 评论(0) 推荐(1)
摘要: 样式通上一篇:https://www.cnblogs.com/huvjie/p/16867618.html xaml: <Window x:Class="MyWPFSimple1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/x 阅读全文
posted @ 2022-11-09 00:23 double64 阅读(190) 评论(0) 推荐(0)
摘要: MyTextBox.xaml <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/ 阅读全文
posted @ 2022-11-07 21:56 double64 阅读(161) 评论(0) 推荐(0)
摘要: 如果需要组织在一起的内容能够自由的缩放,则可以使用 ViewBox 元素。 阅读全文
posted @ 2022-11-05 20:16 double64 阅读(89) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 56 下一页