CommandParameter binding Introduction:

摘要: Design Patterns SampleCodehttps://csharpdesignpatterns.codeplex.com/DevExpress Support Centerhttps://www.devexpress.com/DevExpress Centerhttp://www.de... 阅读全文
posted @ 2014-07-16 17:45 JackSlaterYu 阅读(536) 评论(0) 推荐(0) 编辑

数组/LINQ/List/ObservableCollection

摘要: private static void AddIndustryTypes(sectorCode[] result) { var industryTypes = (from t in result ... 阅读全文
posted @ 2014-07-01 15:26 JackSlaterYu 阅读(574) 评论(0) 推荐(0) 编辑

博客园网站地址

摘要: http://www.dxper.net/documents/000208D5-0000-0000-C000-000000000046Excel -> CSVhttp://dl.vmall.com/c0z3pqoxo3EXcel -> CSVhttp://www.c-sharpcorner.com/... 阅读全文
posted @ 2014-05-29 21:14 JackSlaterYu 阅读(744) 评论(0) 推荐(0) 编辑

DataSet 互相转换 List

摘要: /// /// List DataSet /// public class IListDataSet { /// /// 集合装换DataSet /// /// 集合 /// ... 阅读全文
posted @ 2014-05-28 22:00 JackSlaterYu 阅读(1515) 评论(0) 推荐(0) 编辑

Converter

摘要: public class ImgPathConvert : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo cultu... 阅读全文
posted @ 2014-05-27 23:51 JackSlaterYu 阅读(302) 评论(0) 推荐(0) 编辑

Introduction To The Smart Client Software Factory (CAB/SCSF Part 18)

摘要: 1. ShellThis is the start-up project for the solution. It is very similar to the start-up projects in the sample applications we’ve already seen in th... 阅读全文
posted @ 2014-02-21 11:05 JackSlaterYu 阅读(428) 评论(0) 推荐(0) 编辑

SingletonBaseTemplate

摘要: public static byte[] writeValueAsZipByte(List dtls) { ObjectMapper mapper = new ObjectMapper(); mapper.configure(Feature.FAIL_ON... 阅读全文
posted @ 2014-02-21 10:51 JackSlaterYu 阅读(240) 评论(0) 推荐(0) 编辑

创建 DLL 步骤 和 SRC

摘要: LIBRARY SimulationTouchDllEXPORTSMouseControlGetPosition //MouseControlInterface.def 文件#pragma once#define RET_SUCCESS 0#define RET_ERROR 1enum MOUSE_STATUS{ MOUSE_MOVE, MOUSE_LCLICK, MOUSE_RCLICK, MOUSE_DCLICK,};extern "C" _declspec(dllexport)int __stdcall MouseControl(MOUSE_STATUS eMouse 阅读全文
posted @ 2013-12-09 15:44 JackSlaterYu 阅读(231) 评论(0) 推荐(0) 编辑

C# 实现 压缩 && 解压缩

摘要: static void Main(string[] args) { //string fileToZipPath = "Ionic.Zip.xml"; //string zipedFileName = "CitiGroup.z... 阅读全文
posted @ 2013-05-06 16:45 JackSlaterYu 阅读(340) 评论(0) 推荐(0) 编辑

RelativeSource的用法

摘要: <Grid x:Name="dockPanel1" Background="Red" Margin="10"> <DockPanel x:Name="d1" Background="Orange" Margin="10"> <Grid x:Name="g2" Background="Yellow" Margin="10"> <DockPanel x:Name="do 阅读全文
posted @ 2013-03-29 09:24 JackSlaterYu 阅读(266) 评论(0) 推荐(0) 编辑