06 2021 档案

摘要:private readonly ILogger<WxPayController> _logger; /// <summary> /// /// </summary> private IServiceProvider Service { get; set; } /// <summary> /// / 阅读全文
posted @ 2021-06-23 11:31 willamyao 阅读(39) 评论(0) 推荐(0) 编辑
摘要:设置好无边框窗口后,对MainGrid Xaml代码进行修改: <Grid x:Name="MainGrid" RenderTransformOrigin="0.5,0.5"> <Grid.RenderTransform> <TransformGroup> <ScaleTransform Scale 阅读全文
posted @ 2021-06-07 14:39 willamyao 阅读(551) 评论(0) 推荐(0) 编辑
摘要:for (var i = 0; i < 5; i++) { for (var j = 0; j < 4; j++) { Debug.WriteLine($"{i} {j}"); } } for (var i = 0; i < 4 * 5; i++) { Debug.WriteLine($"{i / 阅读全文
posted @ 2021-06-05 21:09 willamyao 阅读(132) 评论(0) 推荐(0) 编辑
摘要:示例代码: <Window x:Class="WpfApp4.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/win 阅读全文
posted @ 2021-06-04 14:52 willamyao 阅读(173) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Interop; usin 阅读全文
posted @ 2021-06-01 19:33 willamyao 阅读(903) 评论(3) 推荐(1) 编辑