上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 101 下一页
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2016-03-19 14:33 龙骑科技 阅读(362) 评论(2) 推荐(1)
摘要: //检查端口是否被占用! public static bool PortInUseBl(int port) { bool inUse = false; IPGlobalProperties ipProperties = IPGlobalProperties.GetIPGlobalProperties 阅读全文
posted @ 2016-03-18 16:55 龙骑科技 阅读(286) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2016-03-18 16:35 龙骑科技 阅读(271) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Win32;using System.Diagnostics;using System.IO; name 阅读全文
posted @ 2016-03-18 16:32 龙骑科技 阅读(205) 评论(0) 推荐(0)
摘要: /**//* * Gary Zhang -- cbcye@live.com * www.cbcye.com * www.quicklearn.cn * cbcye.cnblogs.com */ using System; using System.Collections.Generic; using 阅读全文
posted @ 2016-03-14 16:37 龙骑科技 阅读(330) 评论(0) 推荐(0)
摘要: 1、using System; 2、   WebRequest myrequest = WebRequest.Create("http://www.baidu.com");            WebResponse myres = null;            try            阅读全文
posted @ 2016-03-14 14:52 龙骑科技 阅读(199) 评论(0) 推荐(0)
摘要: 一、隐藏焦点 1、窗体中如果没有GotFocus事件时,只要把TabStop属性设置成false,就好了.   2、using System.Runtime.InteropServices;         [DllImport("user32", EntryPoint = "HideCaret") 阅读全文
posted @ 2016-03-14 08:56 龙骑科技 阅读(467) 评论(0) 推荐(0)
摘要: 说明:Dictionary对象本身不支持序列化和反序列化,需要定义一个继承自Dictionary, IXmlSerializable类的自定义类来实现该功能。感觉完全可以把这样的类封装到C#库中,很具有通用性嘛,至今没有遇到不能用的情况的说,或许出于其他方面的考虑microsoft才没有这么做。 2 阅读全文
posted @ 2016-03-12 17:15 龙骑科技 阅读(3172) 评论(0) 推荐(0)
摘要: 在PictureStudio中,我需要实现多国语言的界面切换,而且切换各种语言版本的时候希望程序是动态的加载语言,不希望切换语言后重新启动程序。 实现这样的功能可以有很愚蠢的方法,比如说你可以在程序中为界面上的所有国家的文字信息,在代码中进行赋值,你可以想像这样的做法是可以的,但绝对是愚蠢的,代码不 阅读全文
posted @ 2016-03-12 09:30 龙骑科技 阅读(13531) 评论(0) 推荐(0)
摘要: System.ComponentModel.ComponentResourceManager .ApplyResources 时间:2015-06-17 14:59:06 阅读:473 评论:0 收藏:0 [点我收藏+] 标签:des winform class style com 代码 http 阅读全文
posted @ 2016-03-11 11:56 龙骑科技 阅读(2342) 评论(0) 推荐(1)
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 101 下一页