06 2014 档案
摘要:尽可能接近WINDOWS 8的资源管理器效果(这里只模仿它的效果,处理文件功能不包括在内) TREEVIEW可以增加空白并且空白处不能单击 重绘三角箭头 重绘选中时的边框和填充色 重绘失去焦点时选中时的边框和填充色 重绘光标所在处的节点背景 MOUSE Hover 闪烁的问题处理 当TREEVIEW
阅读全文
摘要:http://files.cnblogs.com/xe2011/Csharp_ColorPicker.rar主要使用自定义组件 组合起来的/*完成2014年6月26日8:10:01ColorPicker属性ImageColor事件ColorChangedClicked已知问题privatevoidb...
阅读全文
摘要:附件:http://files.cnblogs.com/xe2011/CSharp_ColorComboBox.rar使用 privatevoidForm1_Load(objectsender,EventArgse){colorComboBox1.Initialize();} privatevoi...
阅读全文
摘要:http://www.csharp-examples.net/get-files-from-directory/ Get Files from Directory [C#]This example shows how to get list of file names from a directory (includingsubdirectories).You can filter the lis...
阅读全文
摘要://如何得到选中的图片的地址 usingmshtml; privatevoidForm1_Load(objectsender,EventArgse){webBrowser1.Navigate(@"D:\Administrator\Desktop\123.htm");webBrowser1....
阅读全文
摘要:WINAPI 变量(2861个) 这是从 c:\Program Files\Windows Kits\8.1\Include\um\WinUser.h 这个文件 中提取的 CTRL+F 查看变量所对应的值 <!--WizRtf2Html Charset=0 -->1. <!--WizRtf2Html
阅读全文
摘要:http://msdn.microsoft.com/en-us/library/66f6d830(v=vs.110).aspx strings="Hello";strings1="World";richTextBox1.Text=s.PadRight(50)+s1;VBhttp://msdn.microsoft.com/en-us/library/microsoft.visualbasi...
阅读全文
摘要:http://www.cnblogs.com/JuneZhang/archive/2011/11/21/2257630.html 为了表示行号,我们可以在DataGridView的RowPostPaint事件中进行绘制。RowPostPaint事件,具体可以参照MSDN。下面是实现代码: pr...
阅读全文
摘要:当前程序的所在目录textBox1.Text=AppDomain.CurrentDomain.BaseDirectory;返回D:\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\http://www.cnblogs.com/SissyNong/archive/2009/09/22/1571752.html 当前程序的完整路径...
阅读全文
摘要:privatevoidbutton1_Click(objectsender,EventArgse){Environment.SpecialFolderspecialFolder1=Environment.SpecialFolder.DesktopDirectory;textBox1.Text=System.Environment.GetFolderPath(specialFolder1);}...
阅读全文
摘要:http://www.cnblogs.com/MarsPanda/archive/2012/09/03/2668522.html 解决办法 安装vcredist 运行库 或者用VC6.0编写DLLWin32 dll新建项目, Win32项目Win32Project1.cpp//Win32Project1.cpp:定义DLL应用程序的导出函数。//#include"stdafx.h"extern"C...
阅读全文
摘要:http://blog.csdn.net/gqqnb/article/details/7213611 安装与运行复制IncBuildNo.exe到你的硬盘,例如 C:\windows\IncBuildNo.exe 在Visual Studio中打开任意一个项目或解决方案, 在菜单上选择 项目 - >XXX属性- >生成事件 在后期生成事件命令行中输入命令:IncBuildNo "$(Projec...
阅读全文
摘要:WIN7以上的系统可以直接运行,XP的系统要按装.NET 2.0 程序下载 http://files.cnblogs.com/xe2011/%E4%B8%80%E7%A7%92%E9%92%9F%E5%BF%83%E7%AE%97.rar更新历史
阅读全文
摘要:附件:http://files.cnblogs.com/xe2011/WindowsFormsApplication_LimitRichTextBoxInput.rarusingSystem;usingSystem.Collections.Generic;usingSystem.ComponentM...
阅读全文
摘要:正确 Randomr=newRandom();privateintRnd(intlow,inthigh){returnr.Next(low,high);} //结果不相同privatevoidbutton3_Click(objectsender,EventArgse){Randomr=newRandom();for(inti=0;i///快速产生随机整数////////////public...
阅读全文
摘要:publicobjectComputeExpression(stringexpression){varresult=newDataTable().Compute(expression,null);returnresult;}MessageBox.Show(ComputeExpression("(1363+123)*345/123").ToString());http://stackoverf...
阅读全文
摘要:<!--WizRtf2Html Charset=0 --> Microsoft.Win32.OpenFileDialog openFileDialog1 = new Microsoft.Win32.OpenFileDialog(); openFileDialog1.Filter = "(*.cup)
阅读全文