09 2020 档案
摘要:直接新建UserControl XML代码: <UserControl x:Class="项目名.用户控件名" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr
阅读全文
摘要:不知道怎么写,就用渐变边框带着旋转来模拟动态 xaml代码: <Border BorderThickness="4" Width="60" Height="60" Grid.Row="0" CornerRadius="33,33,33,33" Margin="0,295,0,0" Name="PAR
阅读全文
摘要:this.openFileDialog1.Filter = "*.*"; if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { string FileName = this.openFileDialog1.FileName; // 你
阅读全文
摘要:using System;using System.Globalization;using System.IO;using System.Text; namespace c_IO{ class Program { static string path = @"E:\IO\file_Create.tx
阅读全文
摘要:最简单的一个 var numQuery = from num in 数据源 where num.Length == 2 select num; // 3. Query execution. foreach (var num in numQuery) { Console.WriteLine("{0,1
阅读全文
摘要:static void Main(string[] args) { string url = "http://desk.zol.com.cn/bizhi/5803_72104_2.html"; HttpCrawelHelper.CreatFile(); string path = Path.Comb
阅读全文
摘要:iTextSharp.text.Rectangle pageSize = new iTextSharp.text.Rectangle(1000, 500); string imgurl = @"C:\Users\topo\Desktop\IX6TQ@0XOIB_PIJE%27LTFI.jpg"; D
阅读全文
摘要:重写此方法 protected override void OnKeyDown(KeyEventArgs e) { if (Keyboard.Modifiers == ModifierKeys.Alt && e.SystemKey == Key.Space) { e.Handled = true;
阅读全文
摘要:在mainwindow里添加属性 WindowStyle="None" WindowState="Maximized"
阅读全文
摘要:https://www.cnblogs.com/laizhenghong2012/p/8832562.html
阅读全文
摘要:例子 https://jingyan.baidu.com/article/93f9803f7ab544e0e46f55e6.html //创建页面大小 Rectangle pageSize = new Rectangle(1000,500); Document document = new Docu
阅读全文
摘要:using System;using System.IO;using System.Text;namespace LearnFileStream{ class Program { string path = @"E:\AdvanceCSharpProject\LearnCSharp\LearnFil
阅读全文
摘要://以字符串为下标的索引器 public class IDXer2 { private Hashtable name = new Hashtable(); //以字符串为下标的索引器 public string this[string index] { get { return name[index
阅读全文

浙公网安备 33010602011771号