zhoumy博客(C#、Windows Phone XAML)
摘要: private void Window_Loaded(object sender, RoutedEventArgs e) { // 获取窗体句柄 IntPtr hwnd = new System.Windows.Interop.Window... 阅读全文
posted @ 2014-04-15 09:16 zhoumy 阅读(436) 评论(1) 推荐(0) 编辑
摘要: 首先,需要保证oracle客户端服务器的字符集是一样的,并且保证该字符集支持中文。你可以使用plsql查看是否乱码。代码:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.OleDb;namespace Oracle中文{ class Program { static void Main(string[] args) { Console.WriteLine("开始连接oraclr数据库... 阅读全文
posted @ 2014-04-11 11:06 zhoumy 阅读(2379) 评论(0) 推荐(0) 编辑
摘要: Process p = new System.Diagnostics.Process(); //设置新进程的工作目录,如果不设置那么新进程的工作目录为开启这个进程的工作目录 p.StartInfo.WorkingDirectory = @"E:\会计助手代码\CNCTKJPT\CNCTKJPT\bin\Debug"; //设置进程启动文件 p.StartInfo.FileName = @"CNCTKJPT.exe"; //设置进程启动参数 p.StartInfo.... 阅读全文
posted @ 2014-04-03 09:33 zhoumy 阅读(3008) 评论(0) 推荐(0) 编辑
摘要: 一张图体现一切: 阅读全文
posted @ 2014-03-29 12:56 zhoumy 阅读(596) 评论(0) 推荐(1) 编辑
摘要: 今天刚刚开始学习WorkFlow。无奈WF网络上的学习资料实在太少。刚刚学到Foreach控制流的使用,需要一个集合参数。经研究,静态赋值可以搞定。动态赋值还没。首先添加一个List的参数。建立好后进入其属性,我们可以通过如下表达式为其赋值:{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.ToList() 阅读全文
posted @ 2014-03-21 14:55 zhoumy 阅读(284) 评论(0) 推荐(0) 编辑
zhoumy博客(C#、Windows Phone XAML)