摘要: 直接新建UserControl XML代码: <UserControl x:Class="项目名.用户控件名" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2020-09-21 17:45 AetlySaber 阅读(392) 评论(1) 推荐(0)
摘要: 不知道怎么写,就用渐变边框带着旋转来模拟动态 xaml代码: <Border BorderThickness="4" Width="60" Height="60" Grid.Row="0" CornerRadius="33,33,33,33" Margin="0,295,0,0" Name="PAR 阅读全文
posted @ 2020-09-17 11:41 AetlySaber 阅读(387) 评论(0) 推荐(0)
摘要: this.openFileDialog1.Filter = "*.*"; if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { string FileName = this.openFileDialog1.FileName; // 你 阅读全文
posted @ 2020-09-16 14:36 AetlySaber 阅读(182) 评论(0) 推荐(0)
摘要: using System;using System.Globalization;using System.IO;using System.Text; namespace c_IO{ class Program { static string path = @"E:\IO\file_Create.tx 阅读全文
posted @ 2020-09-07 17:22 AetlySaber 阅读(188) 评论(0) 推荐(0)
摘要: 最简单的一个 var numQuery = from num in 数据源 where num.Length == 2 select num; // 3. Query execution. foreach (var num in numQuery) { Console.WriteLine("{0,1 阅读全文
posted @ 2020-09-04 13:24 AetlySaber 阅读(96) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { string url = "http://desk.zol.com.cn/bizhi/5803_72104_2.html"; HttpCrawelHelper.CreatFile(); string path = Path.Comb 阅读全文
posted @ 2020-09-04 13:23 AetlySaber 阅读(108) 评论(0) 推荐(0)
摘要: iTextSharp.text.Rectangle pageSize = new iTextSharp.text.Rectangle(1000, 500); string imgurl = @"C:\Users\topo\Desktop\IX6TQ@0XOIB_PIJE%27LTFI.jpg"; D 阅读全文
posted @ 2020-09-04 09:34 AetlySaber 阅读(191) 评论(0) 推荐(0)
摘要: 重写此方法 protected override void OnKeyDown(KeyEventArgs e) { if (Keyboard.Modifiers == ModifierKeys.Alt && e.SystemKey == Key.Space) { e.Handled = true; 阅读全文
posted @ 2020-09-04 09:08 AetlySaber 阅读(544) 评论(0) 推荐(0)
摘要: 在mainwindow里添加属性 WindowStyle="None" WindowState="Maximized" 阅读全文
posted @ 2020-09-04 09:07 AetlySaber 阅读(190) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/laizhenghong2012/p/8832562.html 阅读全文
posted @ 2020-09-03 15:26 AetlySaber 阅读(84) 评论(0) 推荐(0)