C#
文章平均质量分 56
idilent
这个作者很懒,什么都没留下…
展开
-
C# 实现拖动控件
const uint WM_SYSCOMMAND = 0x0112;const uint SC_MOVE = 0xF010;const uint HTCAPTION = 0x0002;[DllImport("user32.dll", EntryPoint="SendMessageA")] private static extern int SendMessage(IntPtr hw转载 2011-06-10 18:04:00 · 740 阅读 · 0 评论 -
Facebook login for Desktop application
Facebook is a popular social network portal, more and more applications are developed integrating facebook functions such as post on the wal原创 2011-07-26 11:39:46 · 2104 阅读 · 0 评论 -
C#中实现真正的透明的PictrueBox
C#控件的透明,只是相对于parent的透明,所以当一个控件上面放置了多个控件,并互相重叠时,会出现很奇怪的透明现象。下面是重载picturebox,实现真正透明的效果的代码:原创 2011-07-26 10:58:23 · 2863 阅读 · 0 评论 -
Transparent PictureBox in C#
In last preject, a transparent picturebox is needed to meet the requiremnt. If you have tried before, you should know that .net transparent原创 2011-07-26 11:14:09 · 1319 阅读 · 0 评论 -
发个好玩的
今天使用Microsoft SQL Server Management Studio的时候发现,选中几条记录然后拷贝粘贴在记事本里面的时候,粘贴顺序是按照你选中的顺序,而不是在Microsoft SQL Server Management Studio里的顺序。Microsoft Visual Studio 里面如果遇到The breakpoint will not currently原创 2012-11-15 14:29:08 · 512 阅读 · 0 评论 -
window 窗口闪烁的解决方案。
It is not the kind of flicker that double-buffering can solve. Nor BeginUpdate or SuspendLayout. You've got too many controls, the BackgroundImage can make it a lot worse.It starts when the UserCo转载 2014-07-22 10:34:36 · 1208 阅读 · 1 评论 -
regAsm的历史问题
regAsm是用来注册,卸载dll成为通用库的一个工具。关于regAsm的详细资料请参照http://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx但是在实际使用这个这个注册工具的过程中,遇到一下问题:同名的dll,注册过后,如果想把dll降级到以前的版本,卸载已注册dll,再注册旧版本的dll,这个旧版本的原创 2014-11-12 12:35:16 · 1212 阅读 · 0 评论