摘要: WPF MVVM DataGrid Button Command绑定 <Button Content="删除" Background="{StaticResource mainColor}" Width="90" Height="35" Style="{StaticResource BtnStyle 阅读全文
posted @ 2016-02-02 15:02 倾国倾城何为倾 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: www.ihavemyway.com 阅读全文
posted @ 2015-12-30 11:50 倾国倾城何为倾 阅读(105) 评论(0) 推荐(0) 编辑
摘要: using System.Security.Cryptography;public static string En32(string str) { string pwd = ""; MD5 md5 = MD5.Create();//实例化一... 阅读全文
posted @ 2015-12-29 11:49 倾国倾城何为倾 阅读(345) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { //c# datetime 格式化 DateTime dt = DateTime.Now; dt.ToString();//2005-11-5 13:2... 阅读全文
posted @ 2015-12-29 11:31 倾国倾城何为倾 阅读(203) 评论(0) 推荐(0) 编辑
摘要: public static class ControlsSearchHelper { //查找父控件 public static T GetParentObject(DependencyObject obj, string name) where T : Fram... 阅读全文
posted @ 2015-12-28 17:33 倾国倾城何为倾 阅读(215) 评论(0) 推荐(0) 编辑
摘要: # include # include # include# include# include# include# include# include# include# include # include void simulate_key(int fd, int kval) { struc... 阅读全文
posted @ 2015-12-28 17:31 倾国倾城何为倾 阅读(734) 评论(0) 推荐(0) 编辑
摘要: public static void SendToUIThread(UIElement element, string text) { element.Dispatcher.BeginInvoke( new Action(() => ... 阅读全文
posted @ 2015-12-28 17:30 倾国倾城何为倾 阅读(458) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2015-12-28 17:04 倾国倾城何为倾 阅读(456) 评论(0) 推荐(1) 编辑