2011年3月18日

C#路径/文件/目录/I/O常见操作汇总 http://blog.csdn.net/dz45693/archive/2010/04/26/5528899.aspx

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-03-18 14:12 我和我自己 阅读(17) 评论(0) 推荐(0) 编辑

2011年3月8日

C# TreeView递归显示整个系统盘符文件目录及文件

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-03-08 09:57 我和我自己 阅读(28) 评论(0) 推荐(0) 编辑

递归显示文件

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-03-08 09:54 我和我自己 阅读(12) 评论(0) 推荐(0) 编辑

C# 获取C盘下的文件并添加到 treeView 中

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-03-08 09:53 我和我自己 阅读(11) 评论(0) 推荐(0) 编辑

Explorer C#实现

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-03-08 09:52 我和我自己 阅读(11) 评论(0) 推荐(0) 编辑

2011年3月3日

2011.03.03 翻转字体用DrawString输出

摘要: protectedoverridevoidOnPaint(PaintEventArgse){Graphicsg=CreateGraphics();stringtxt="HELLO";floatalpha=45.0f;intfontSize=24;Pointcenter=newPoint(90,20);//Verticaltext:FontFamilyff=newFontFamily("TimesNewRoman");Fontf=newFont(ff,fontSize,FontStyle.Regular);StringFormatsf=newStringF 阅读全文

posted @ 2011-03-03 17:03 我和我自己 阅读(430) 评论(0) 推荐(0) 编辑

2011.03.03 How to rotate FONT or PICTURE in C Sharp language

摘要: Graphics g = this.CreateGraphics(); Matrix x = new Matrix(); x.Rotate(45, MatrixOrder.Append); g.Transform = x; g.DrawString( "字符串 ", this.Font, SystemBrushes.ControlText, 0, 0); g.ResetTransform();图像Graphics.TranslateTransform string filePath =@"C:\a.jpg"; using (Bitmap bm = new 阅读全文

posted @ 2011-03-03 16:29 我和我自己 阅读(273) 评论(0) 推荐(0) 编辑

2011年2月18日

2011.02.18 关于CLR的解释

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-02-18 16:07 我和我自己 阅读(5) 评论(0) 推荐(0) 编辑

2011年2月14日

2011.02.14 C#中Region用法

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-02-14 16:30 我和我自己 阅读(5) 评论(0) 推荐(0) 编辑

2011年2月11日

2011.02.11 #pragma once与 #ifndef的区别

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2011-02-11 12:40 我和我自己 阅读(5) 评论(0) 推荐(0) 编辑

2011年1月24日

FPCB代码后缀名解释

摘要: 阅读全文

posted @ 2011-01-24 15:38 我和我自己 阅读(129) 评论(0) 推荐(0) 编辑

2010年12月29日

怎样顺利安装Microsoft Visual Studio 2008(针对Web组件创建失败)

摘要: 笔记本是XP系统,同时安装了office 的03和07软件。 此前安装Microsoft Visual Studio 2008的时候,一开始一切顺利,但随后屏幕显示:一个组件“Visual Studio Web 创作组件(Visual Studio Authoring Component)”安装失败,出现错误界面之后,setup.exe随即停止工作。笔者又试了几次,都不行。 笔者于是在网上查阅了一下,发现问题在于“有无安装office 2007软件”上。 于是,笔者修复了office 2007,再次尝试安装,终于成功地安装上了Microsoft Visual Studio 2008,安装完毕 阅读全文

posted @ 2010-12-29 19:07 我和我自己 阅读(544) 评论(0) 推荐(0) 编辑

2010年8月3日

2010.08.03 - How to convert 十进制 to 二进制 八进制 十六进制

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-08-03 15:28 我和我自己 阅读(4) 评论(0) 推荐(0) 编辑

2010年7月27日

C# How to send and receive message from serial port.

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-27 16:24 我和我自己 阅读(10) 评论(0) 推荐(0) 编辑

2010年7月26日

How to Send String by SendMessage or PostMessage

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-26 16:48 我和我自己 阅读(11) 评论(0) 推荐(0) 编辑

How to run one application only in C++ and C#?

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-26 16:47 我和我自己 阅读(7) 评论(0) 推荐(0) 编辑

2010年7月22日

IssueManager - if you can not change access database

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-22 16:57 我和我自己 阅读(3) 评论(0) 推荐(0) 编辑

2010年7月7日

用C#控制计算机重启、关机及注销

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-07 15:50 我和我自己 阅读(6) 评论(0) 推荐(0) 编辑

BUG管理系统

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-07 09:37 我和我自己 阅读(62) 评论(0) 推荐(0) 编辑

2010年7月1日

typedef 的用法

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-07-01 08:03 我和我自己 阅读(5) 评论(0) 推荐(0) 编辑

2010年6月23日

MultiThread - how to do?two ways

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-23 10:49 我和我自己 阅读(2) 评论(0) 推荐(0) 编辑

2010年6月22日

C#移位操作,please notice

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-22 11:42 我和我自己 阅读(7) 评论(0) 推荐(0) 编辑

2010年6月21日

C#调用Win32 API如何处理指针类型的参数

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-21 13:57 我和我自己 阅读(10) 评论(0) 推荐(0) 编辑

2010年6月17日

RS when you shut down,it will generate DEADLOCK.

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-17 09:46 我和我自己 阅读(5) 评论(0) 推荐(0) 编辑

2010年6月13日

在C#中使用SerialPort类实现串口通信

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-13 22:15 我和我自己 阅读(42) 评论(0) 推荐(0) 编辑

Read and Write info to .txt file(or other kind of files)

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-13 11:15 我和我自己 阅读(7) 评论(0) 推荐(0) 编辑

Enum,struct

摘要: namespace ConsoleApplication1{ //定义枚举.枚举所使用的类型只能为:sbyte, byte, short, ushort, int, uint, long, ulong enum student : sbyte { name = 1, age = 12, sex = -11 } //定义结构 public struct studentInfo { public st... 阅读全文

posted @ 2010-06-13 09:22 我和我自己 阅读(232) 评论(0) 推荐(0) 编辑

Easy but easy to make syntax error - Array,Struct

摘要: //Declarechar[] chTest = new char[10];int[] iTest = new int[10];string[] strTest = new string[10];//ValuechTest[0] = 'A';iTest[0] = 1;strTest[0] = "Test";//Structpublic struct strTest{ public int iTes... 阅读全文

posted @ 2010-06-13 09:19 我和我自己 阅读(130) 评论(0) 推荐(0) 编辑

2010年6月11日

C# How to Convert String to ASCII OR how to convert ASCII To String

摘要: 字符转ASCII码:public static int Asc(string character){if (character.Length == 1){System.Text.ASCIIEncoding asciiEncoding = new System.Text.ASCIIEncoding();int intAsciiCode = (int)asciiEncoding.GetBytes(ch... 阅读全文

posted @ 2010-06-11 17:02 我和我自己 阅读(370) 评论(0) 推荐(0) 编辑

2010年6月10日

EZ Stepper - EzStep23用法介绍

摘要: Commands for the EZStepper are single alpha characters normally followed by a numeric value.The alpha characters reprents "what to do" and the numeric value reprents "how much to do it". A0-2^32 Move ... 阅读全文

posted @ 2010-06-10 10:52 我和我自己 阅读(295) 评论(0) 推荐(0) 编辑

2010年6月3日

C#调用C++编写的OCX控件

摘要: Step1:Regsver32 + your ocx controls.Step2:Copy OCX files to C:\\Windows\system32Step3:In your dialogbox,please add item(ocx),then pull this ocx controls to your dialog box.Step4:use DLLimport .ocxpriv... 阅读全文

posted @ 2010-06-03 13:09 我和我自己 阅读(397) 评论(0) 推荐(0) 编辑

2010年6月1日

C#调用C++动态链接库或者Lib里面的函数

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2010-06-01 13:21 我和我自己 阅读(82) 评论(0) 推荐(1) 编辑

导航