会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LongtengGensSupreme
道可道,非常道,名可名,非常名,无名天地之始,有名万物之母 --------龙腾一族至尊龙骑
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
86
87
88
89
90
91
92
93
94
···
101
下一页
2016年3月19日
隐藏光标与获得光标2----获得光标所在的控件
摘要: 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)
2016年3月18日
端口是否使用
摘要: //检查端口是否被占用! 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)
2016年3月14日
C# zip压缩
摘要: /**//* * 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)
2016年3月12日
C# SerializableDictionary序列化/反序列化
摘要: 说明:Dictionary对象本身不支持序列化和反序列化,需要定义一个继承自Dictionary, IXmlSerializable类的自定义类来实现该功能。感觉完全可以把这样的类封装到C#库中,很具有通用性嘛,至今没有遇到不能用的情况的说,或许出于其他方面的考虑microsoft才没有这么做。 2
阅读全文
posted @ 2016-03-12 17:15 龙骑科技
阅读(3172)
评论(0)
推荐(0)
C#实现多国语言的界面切换
摘要: 在PictureStudio中,我需要实现多国语言的界面切换,而且切换各种语言版本的时候希望程序是动态的加载语言,不希望切换语言后重新启动程序。 实现这样的功能可以有很愚蠢的方法,比如说你可以在程序中为界面上的所有国家的文字信息,在代码中进行赋值,你可以想像这样的做法是可以的,但绝对是愚蠢的,代码不
阅读全文
posted @ 2016-03-12 09:30 龙骑科技
阅读(13531)
评论(0)
推荐(0)
2016年3月11日
在运行时切换 WinForm 程序的界面语言 ---------多语言设置基础
摘要: 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
下一页
公告