会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AetlySaber
博客园
首页
新随笔
联系
订阅
管理
2020年9月21日
Wpf计时器(UserControl)
摘要: 直接新建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)
2020年9月17日
WPF定时器
摘要: 不知道怎么写,就用渐变边框带着旋转来模拟动态 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)
2020年9月16日
c#_按钮打开选择文件的提示框
摘要: this.openFileDialog1.Filter = "*.*"; if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { string FileName = this.openFileDialog1.FileName; // 你
阅读全文
posted @ 2020-09-16 14:36 AetlySaber
阅读(182)
评论(0)
推荐(0)
2020年9月7日
c#_IO(部分)
摘要: 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)
2020年9月4日
c#linq
摘要: 最简单的一个 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)
wpf_写pdf
摘要: 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)
wpf_屏蔽按键
摘要: 重写此方法 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)
wpf_最大化,去边框
摘要: 在mainwindow里添加属性 WindowStyle="None" WindowState="Maximized"
阅读全文
posted @ 2020-09-04 09:07 AetlySaber
阅读(190)
评论(0)
推荐(0)
2020年9月3日
wpf_布局
摘要: https://www.cnblogs.com/laizhenghong2012/p/8832562.html
阅读全文
posted @ 2020-09-03 15:26 AetlySaber
阅读(84)
评论(0)
推荐(0)
下一页
公告