随笔分类 - 整理
摘要:1、设置窗体TopMost属性 private DispatcherTimer timer; public Window1() { InitializeComponent(); Loaded += new RoutedEventHandler(Window1_Loaded); } void Wind
阅读全文
摘要:更改电脑屏幕显示的文字大小后,平面显示区域问题。 /// <summary> /// 屏幕显示尺寸 /// </summary> public static Size ReviseScreenSize { get { float pixels = getLogPiex(); float dxPrec
阅读全文
摘要:1、过滤特殊字符 public class CharService:IDisposable { private List<char> _invalidChars; public CharService() { _invalidChars = new List<char>(); _invalidCha
阅读全文
摘要:1、开源实体映射框架EmitMapper(http://www.cnblogs.com/wuhong/archive/2011/09/21/2184313.html) 2、ffmpeg.exe是一个源于Linux的工具软件,为FLV视频转换器,可以轻易地实现FLV向其它格式avi、asf、 mpeg
阅读全文
摘要:1、如何设置winform窗体透明,但是显示的内容不透明? 方法:BackColor设置:Red(任意)在窗体属性里设置一个“TransparenceKey”的属性为Red 2、如何让C#编译不安全代码(含unsafe的代码) 方法:在“项目” 属性设置界面,找到“生成”选项卡下的“允许不安全代码”
阅读全文
摘要:8、错误 C2440: “static_cast”: 无法从“void (__thiscall CView::* )(UINT,LONG)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)” 问题 原因:VC6.0的消息映射函数方法,升级至VS2005
阅读全文
摘要:public class Path_File { public string AppPath { get { return AppDomain.CurrentDomain.BaseDirectory; } } public Path_File() { } /// <summary> /// 查找指定
阅读全文
摘要:public class DomainHelper { public static void SetDomainValue(string key, object password) { AppDomain.CurrentDomain.SetDa...
阅读全文
摘要:整理了 MapConrol各基本功能的实现代码
阅读全文
摘要:1、 问题: Arcgis10.0 组件初始化失败 解决方法: ESRI.ArcGIS.RuntimeManager.BindLicense(ESRI.ArcGIS.ProductCode.EngineOrDesktop);该语句需要引用ESRI.ArcGIS.Version类库 2、 问题: 无嵌
阅读全文

浙公网安备 33010602011771号