5 WZ2019

尚未进行身份认证

暂无相关简介

等级
TA的排名 33w+

开关按钮CheckBox

<!--开关按钮--> <Style x:Key="SliderCheckBox" TargetType="{x:Type CheckBox}"> <Style.Resources> <Style x:Key="CheckRadioFocusVisual"> &l...

2019-05-24 21:27:50

RadioButton选定显示控件的Style

<!--控件绑定RButton的Uid即可实现选定显示--><Style x:Key="RButton" TargetType="{x:Type RadioButton}"> <Setter Property="Margin" Value="10"/> <Setter Property="Template...

2019-05-22 22:38:08

WPF之ColorButton

<Style x:Key="ColorButton" TargetType="Button"> <Setter Property="Background" Value="#FF399C34"/> <Setter Property="BorderBrush" Value="Silver"/> ...

2019-05-21 23:01:05

WPF之弹动Button

<Style x:Key="MoveButton" TargetType="Button"> <Setter Property="Foreground" Value="White"/> <Setter Property="Template"> <Setter.Value&gt...

2019-05-21 22:56:39

WPF之ImageButton2

<!--Background设为图片ImageBrush--> <Style x:Key="ImageButton2" TargetType="{x:Type Button}" > <Style.Resources> <LinearGradientBrush x:Key="Linear...

2019-05-21 22:48:53

WPF之ImageButton1

<!--Background设为图片ImageBrush--> <Style x:Key="ImageButton1" TargetType="{x:Type Button}" > <Style.Resources> <LinearGradientBrush x:Key="Linea...

2019-05-21 22:38:27

WPF按钮style之BlueButton

<Style x:Key="BlueButton" TargetType="{x:Type Button}" > <Style.Resources> <LinearGradientBrush x:Key="LinearGradientBlueBackground" EndPoint="0.5,1" Start...

2019-05-20 22:14:04

Wpf平面圆角按钮

<Style x:Key="FlatButton" TargetType="Button"> <Setter Property="Foreground" Value="DarkCyan"/> <Setter Property="Background" Value="#70C0C0C0"/> ...

2019-05-19 22:55:49

WPF窗口右上角按钮2

<Style x:Key="BackButton" TargetType="Button"> <Setter Property="Foreground" Value="WhiteSmoke"/> <Setter Property="Background" Value="#33FFFFFF"/> ...

2019-05-19 22:52:46

WPF窗口右上角按钮1

<Style x:Key="WinButton" TargetType="Button"> <Setter Property="Foreground" Value="White"/> <Setter Property="BorderBrush" Value="Red"/> ...

2019-05-18 18:49:14

文件排序类

添加引用using System.Collections; /// <summary> /// 文件排序类 /// </summary> public class FileSort : IComparer { private FileOrder _fileorder; private FileAsc _fi...

2019-05-18 18:19:29

按字符串长度切分成数组

#region 分割文本 /// <summary> /// /// 按字符串长度切分成数组 /// /// </summary> /// /// <param name="str">原字符串</param> /// /// <param name="sepa...

2019-05-18 18:17:13

WPF定时器

using System.Windows.Threading; public MainWindow() { InitializeComponent(); DispatcherTimer timer = new DispatcherTimer(); //时间相当于Timer time...

2019-05-18 06:42:59

筛选扩展名文件并排序

//extens筛选扩展名数组为小写 public List<FileInfo> FileInfos(string dir,string[] extens) { FileInfo[] allFile = new DirectoryInfo(dir).GetFiles(); List...

2019-05-17 22:54:43

XML创建、转DataTable

public class OperXml { XmlDocument xmlDoc = new XmlDocument(); public void CreateNode(XmlDocument xmlDoc,XmlNode parentNode,string name,string value) { Xm...

2019-05-17 18:46:23

操作Sqlite

/// <summary> /// 操作Sqlite /// </summary> public class OperSqlite { /// <summary> /// 修改密码 /// </summary> /// <param...

2019-05-17 18:40:21

文件名排序

/// <summary> /// C#按文件名排序 /// </summary> public class FileNameList { /// <summary> /// C#按文件名排序(顺序) /// </summary> /// <p...

2019-05-17 18:37:24

加密类库

/// <summary> /// 加密类库 /// </summary> public class Encoder { #region DES 加(解)密。(对称加密) /// <summary> /// DES 加密(对称加密)。使用密钥将明文加密成密文 //...

2019-05-17 18:35:40

创建桌面快捷方式

public class DeskLnk { /// <summary> /// 创建桌面快捷方式 /// </summary> /// <param name="lnk">快捷方式名称,无后缀名</param> /// <param name=...

2019-05-17 18:33:06

拷贝文件夹

/// <summary> /// 拷贝文件夹 /// </summary> public class CopyDir { /// <summary> /// 拷贝文件夹 /// </summary> /// <param name="srcdir...

2019-05-17 18:25:45

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。