上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 56 下一页
摘要: ▲ https://www.cnblogs.com/chillsrc/p/4482691.html 阅读全文
posted @ 2022-11-12 19:42 double64 阅读(87) 评论(0) 推荐(0)
摘要: 经常要考虑的,后台的耗时操作不要卡死主界面的问题。 <StackPanel VerticalAlignment="Center"> <Label x:Name="lblHello">欢迎你光临WPF的世界!</Label> <Button Name="btnThd" Click="btnThd_Cl 阅读全文
posted @ 2022-11-12 17:34 double64 阅读(466) 评论(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 阅读(1253) 评论(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 阅读(182) 评论(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 阅读(154) 评论(0) 推荐(0)
摘要: 如果需要组织在一起的内容能够自由的缩放,则可以使用 ViewBox 元素。 阅读全文
posted @ 2022-11-05 20:16 double64 阅读(86) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?> <Test> <Person name="孙悟空" age="500" /> </Test> static void Main() { //Write(); //Modify(); GetVal(); Console.Re 阅读全文
posted @ 2022-11-03 22:57 double64 阅读(71) 评论(0) 推荐(0)
摘要: 测试实体: class Test { public int Age { get; set; } = 1; public string Sex { get; set; } = "男"; public Name Name { get; set; } = new Name() { Name_ = "周杰伦 阅读全文
posted @ 2022-11-03 20:45 double64 阅读(70) 评论(0) 推荐(0)
摘要: 引入命名空间: xmlns:system="clr-namespace:System;assembly=mscorlib" XAML: <Window x:Class="WpfApp.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006 阅读全文
posted @ 2022-11-02 22:09 double64 阅读(869) 评论(0) 推荐(0)
摘要: class TaskDelayTest { Stopwatch sw = new Stopwatch(); public void DoRun() { Console.WriteLine($"Caller:Before call."); ShowDelayAsync(); //ShowDelay() 阅读全文
posted @ 2022-10-21 17:41 double64 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 56 下一页