<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_留下点什么为好</title><subtitle type="text">总是觉得不管干什么，留下点什么为好。</subtitle><id>http://feed.cnblogs.com/blog/u/14924/rss</id><updated>2007-04-26T05:09:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/14924/rss"/><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/27/461291.html</id><title type="text">.Net2.0在程序中编译代码</title><summary type="text">usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingMicrosoft.CSharp;usingSystem.CodeDom.Compiler;namespaceCodeCompiler_Example{classProgram{staticstringstrCsCode=@"classCls{staticvoidMa...</summary><published>2006-07-27T10:13:00Z</published><updated>2006-07-27T10:13:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/27/461291.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/27/461291.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457370.html</id><title type="text">C#利用VB的My功能来显示文件拷贝、删除、移动进度</title><summary type="text">直接上代码：（简单）usingMicrosoft.VisualBasic.FileIO;classProgressBarCopy{staticvoidMain(){stringcopySrc=@"C:\WINDOWS\Microsoft.NET";stringcopyDest=@"C:\TipsTmp";FileSystem.CopyDirectory(copySrc,copyDest,UIOpt...</summary><published>2006-07-22T11:28:00Z</published><updated>2006-07-22T11:28:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457370.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457370.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457353.html</id><title type="text">.net2.0提供的TextBox候选文字提示功能</title><summary type="text">哈哈，首先要设置TextBox的AutoCompleteMode为SuggestAutoCompleteSource为CustomSource。然后就写代码了：）privatevoidForm1_Load(objectsender,EventArgse){AutoCompleteStringCollectioncollection=newAutoCompleteStringCollection()...</summary><published>2006-07-22T10:56:00Z</published><updated>2006-07-22T10:56:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457353.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457353.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457346.html</id><title type="text">.net2.0轻松判断NumLock、CapsLock、ScrollLock、Insert键的状态：）</title><summary type="text">不多说了，直接插代码：） 不用ApipublicForm1(){InitializeComponent();Application.Idle+=newEventHandler(Application_Idle);}privatevoidApplication_Idle(objectsender,EventArgse){if(Control.IsKeyLocked(Keys.NumLock))lab...</summary><published>2006-07-22T10:37:00Z</published><updated>2006-07-22T10:37:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457346.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457346.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457339.html</id><title type="text">.net2.0轻松取得应用程序图标</title><summary type="text">感谢.net2.0为我们所做的。Iconicon=Icon.ExtractAssociatedIcon(textBox1.Text);pictureBox1.Image=icon.ToBitmap();呵呵，以前要用Api，现在好轻松就取得了。System.Drawing.Icon Class。哈哈：） 郁闷，我的博客出了BUG。</summary><published>2006-07-22T10:27:00Z</published><updated>2006-07-22T10:27:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457339.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457339.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457329.html</id><title type="text">利用System.Media来做声音提醒</title><summary type="text">呵呵，比如输错文字，提醒一下：）usingSystem.Media;privatevoidbuttonBeep_Click(objectsender,EventArgse){SystemSounds.Beep.Play();}privatevoidbuttonExclamation_Click(objectsender,EventArgse){SystemSounds.Exclamation.Pl...</summary><published>2006-07-22T10:14:00Z</published><updated>2006-07-22T10:14:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457329.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457329.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457322.html</id><title type="text">.net2.0窗体关闭时自动保存窗体位置及大小</title><summary type="text">.net2.0为我们准备好了。窗体属性中 (ApplicationSettings) - (PropertyBinding) 点击按钮。点开Location新建，输入自己的设置名称，我设置的是MyLocation。同样也新建一个MyClientSize，然后OK。再打开您的Project属性里面的设定选项卡，看到我们刚才的MyLocation，MyClientSize。然后看代码：usingSys...</summary><published>2006-07-22T10:02:00Z</published><updated>2006-07-22T10:02:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457322.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457322.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457310.html</id><title type="text">.net2.0中改变数组大小</title><summary type="text">.net1.x中privateArrayRedim(ArrayoldArr,intnNewSize){Typetype=oldArr.GetType().GetElementType();ArraynewArr=Array.CreateInstance(type,nNewSize);if(object.Equals(null,oldArr)){returnnewArr;}Array.Copy(ol...</summary><published>2006-07-22T09:43:00Z</published><updated>2006-07-22T09:43:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457310.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457310.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457273.html</id><title type="text">将窗体或窗体上某控件保存为图片</title><summary type="text">voidSaveControlImage(Controlc,stringfile){intw=c.Size.Width;inth=c.Size.Height;using(Bitmapbmp=newBitmap(w,h)){c.DrawToBitmap(bmp,newRectangle(0,0,w,h));bmp.Save(file,System.Drawing.Imaging.ImageForma...</summary><published>2006-07-22T09:02:00Z</published><updated>2006-07-22T09:02:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457273.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457273.html"/></entry><entry><id>http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457248.html</id><title type="text">让窗体关闭按钮无效新法</title><summary type="text">以前写过一个，有点笨：）让窗体关闭按钮无效呵呵，这个简单：protectedoverridevoidWndProc(refMessagem){base.WndProc(refm);//0x84:WM_NCHITTESTif(m.Msg==0x84){//20:HTCLOSEif(m.Result==(IntPtr)20){//0:HTNOWHEREm.Result=(IntPtr)0;}}}MDI...</summary><published>2006-07-22T08:33:00Z</published><updated>2006-07-22T08:33:00Z</updated><author><name>萝卜青菜</name><uri>http://www.cnblogs.com/luoboqingcai/</uri></author><link rel="alternate" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457248.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/luoboqingcai/archive/2006/07/22/457248.html"/></entry></feed>
