![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
勇神
本屌不是代码的生产者,而是代码的搬运工。
展开
-
C# 多线程 定时器
DispatcherTimer dTimer = new System.Windows.Threading.DispatcherTimer(); dTimer.Tick += new EventHandler(bmpPaint); dTimer.Interval = TimeSpan.FromSeconds(0); dT转载 2017-04-17 17:57:25 · 440 阅读 · 0 评论 -
wpf 文件对话框
public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void button_Click(object sender, RoutedEventAr转载 2017-06-16 12:02:30 · 262 阅读 · 0 评论 -
C# JSON
添加类 using System.Web; using System.Web.Script.Serialization; 程序例子 public string json = @"{'url': 'http: //mp.funslink.cn/version/101/', 'list': [ '1.png', '2.png'原创 2017-03-23 21:59:32 · 1239 阅读 · 0 评论 -
wpf listview 的右键菜单 点击事件
Mainwindow.xmal <Window x:Class="vlctesst.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"原创 2017-05-20 11:17:22 · 7530 阅读 · 1 评论 -
C# 线程委托
public delegate void NextPrimeDelegate(); private void bmpPaint2() { System.Threading.Thread.Sleep(8); this.Dispatcher.BeginInvoke(原创 2017-05-05 10:25:08 · 611 阅读 · 0 评论 -
c# 注册表开户启动
public class StartLaunch { //表示Window注册表中项级节点,读取 Windows 注册表基项HKEY_LOCAL_MACHINE public Microsoft.Win32.RegistryKey loca; public Microsoft.Win32.RegistryKey run;原创 2017-05-23 13:57:26 · 247 阅读 · 0 评论 -
C# 线程池同步
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Diagnostics; using System.IO; using System.Windows; using System.Runtime; na原创 2017-04-17 10:56:38 · 1319 阅读 · 0 评论 -
C# xml 读写操作
www 0 123 0 1 0 0 简单文本data.xml XmlDocument doc = new XmlDocument(); doc.Load("data.xml"); XmlElement root = doc.DocumentElement; //XmlNode node = root.Se原创 2017-03-22 11:14:02 · 181 阅读 · 0 评论 -
C# 反射
http://www.cnblogs.com/yaozhenfa/p/CSharp_Reflection_1.html转载 2017-04-18 14:47:10 · 140 阅读 · 0 评论 -
wpf DoubleAnimation对image控件进行缩放旋转
/// /// 用户控件是的动画 缩放效果 /// /// 控件名 /// 元素开始的大小 /// 元素到达的大小 public void ScaleEasingAnimationShow(UIElement element, double from, double to) {原创 2017-10-31 15:03:00 · 3531 阅读 · 0 评论