第一种采用,需注意窗体上的控件是否把窗体覆盖了。。。MouseDown、MouseMove、MouseUp事件应该是鼠标所处位置最顶层的控件的事件在窗体的类中声明两个变量private Point m
[更多…]-
C#移动无标题栏窗体的三种代码
-
WinForm中log4net配置说明和使用一
由于最近在WinForm项目中用到log4net便查阅了相关资料。但发现关于log4net的文章很多,但说的太简陋了,经过实践后现把总结一下。内容如下: &nbs
[更多…] -
WinForm中log4net配置说明和使用二
介绍一下各配置信息 1.Appenders Appenders用来定义日志的输出方式。它还可以通过配
[更多…] -
【引用】manifest的作用
问题描述:大部分的vs.net 2005的用户在新建“win32项目-windows应用程序”的时候,新建的工程都通不过去,出现如下提示: Solution to “MSVCR80D.dll not
[更多…] -
Visual Studio was unable to determine the Code Access Security (CAS) permissions
Sometime when you open “Security” tab for one project , which is targetting .NET 3.5 , in VS 2008, y
[更多…] -
.NET : 什么是AllowPartiallyTrustedCallers
.NET : 什么是AllowPartiallyTrustedCallers AllowPartiallyTrustedCallersAttribute 只有被具有强名称的程序集在程序集级别上应用时才
[更多…] -
SecurityException アセンブリは部分的に信頼されている呼び出し元を許可しません。
先日セキュリティレビューを受けました.脅威モデルに関してはおかげさまで無事通過(一箇所指摘を受けたけど).ただAPTCAに関する質問があって,はじめて聞く言葉だったのでまったく答えられませんでした&#
[更多…] -
Ten Must-Have .NET Tools Every Developer Should Download Now
Ten Must-Have Tools Every Developer Should Download Now James Avery This article discusses: NUnit to
[更多…] -
How to get Mac Address of a computer using IP Address.
using System; using System.Diagnostics ; namespace GetMacAddressFromIPAddress { public class GetMacA
[更多…] -
How to: Use Word Dialog Boxes in Hidden Mode
The following code examples demonstrate how to use the Page Setup dialog box in hidden mode to set m
[更多…]