随笔分类 -  个人总结

上一页 1 ··· 18 19 20 21 22
总结问题,编程实现。
摘要:this.control.BringToFront();至于最前端this.control.SendToBack();放到最低层 阅读全文
posted @ 2016-04-01 17:53 龙骑科技 阅读(323) 评论(0) 推荐(0) 编辑
摘要:picturebox控件共有两种载入图片方式,分别为: pictureBox1.BackgroundImage = Image,pictureBox1.load(url) 为使加载的图片自使用控件尺寸,可以分别对pictureBox控件设置BackGroundImageLayout=Stretch, 阅读全文
posted @ 2016-03-31 17:25 龙骑科技 阅读(2310) 评论(0) 推荐(2) 编辑
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Odbc;using System.Data.OleDb; namespace 测试ODBC与OLE 阅读全文
posted @ 2016-03-26 11:21 龙骑科技 阅读(280) 评论(0) 推荐(0) 编辑
摘要:在做开发时想要从程序集中加载一个xml文件数据,可是在运行后确取不到值,值始终是null。 代码如下: Stream ss = this.GetType().Assembly.GetManifestResourceStream("TESTdemo.demo.FormDemo.xml");myCont 阅读全文
posted @ 2016-03-22 15:19 龙骑科技 阅读(2077) 评论(1) 推荐(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 龙骑科技 阅读(355) 评论(2) 推荐(1) 编辑
摘要://检查端口是否被占用! public static bool PortInUseBl(int port) { bool inUse = false; IPGlobalProperties ipProperties = IPGlobalProperties.GetIPGlobalProperties 阅读全文
posted @ 2016-03-18 16:55 龙骑科技 阅读(278) 评论(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 龙骑科技 阅读(256) 评论(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 龙骑科技 阅读(193) 评论(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 龙骑科技 阅读(320) 评论(0) 推荐(0) 编辑
摘要:1、using System; 2、   WebRequest myrequest = WebRequest.Create("http://www.baidu.com");            WebResponse myres = null;            try            阅读全文
posted @ 2016-03-14 14:52 龙骑科技 阅读(179) 评论(0) 推荐(0) 编辑
摘要:一、隐藏焦点 1、窗体中如果没有GotFocus事件时,只要把TabStop属性设置成false,就好了.   2、using System.Runtime.InteropServices;         [DllImport("user32", EntryPoint = "HideCaret") 阅读全文
posted @ 2016-03-14 08:56 龙骑科技 阅读(448) 评论(0) 推荐(0) 编辑
摘要:说明:Dictionary对象本身不支持序列化和反序列化,需要定义一个继承自Dictionary, IXmlSerializable类的自定义类来实现该功能。感觉完全可以把这样的类封装到C#库中,很具有通用性嘛,至今没有遇到不能用的情况的说,或许出于其他方面的考虑microsoft才没有这么做。 2 阅读全文
posted @ 2016-03-12 17:15 龙骑科技 阅读(3041) 评论(0) 推荐(0) 编辑
摘要:在PictureStudio中,我需要实现多国语言的界面切换,而且切换各种语言版本的时候希望程序是动态的加载语言,不希望切换语言后重新启动程序。 实现这样的功能可以有很愚蠢的方法,比如说你可以在程序中为界面上的所有国家的文字信息,在代码中进行赋值,你可以想像这样的做法是可以的,但绝对是愚蠢的,代码不 阅读全文
posted @ 2016-03-12 09:30 龙骑科技 阅读(13367) 评论(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 龙骑科技 阅读(2282) 评论(0) 推荐(1) 编辑
摘要:备份 第一 :选择数据库右键任务,然后直接选择分离,再选择删除和更新上打勾,之后到sqlsever安装目录下查看,会生成xx.mdf和xx.ldf两个文件(既有表结构又有数据)。 第二:可以选择备份,选中数据库右键任务,选择备份(既有表结构又有数据),目标是备份到,如果已经有备份路径了,这时需要删掉 阅读全文
posted @ 2015-08-26 15:32 龙骑科技 阅读(179) 评论(0) 推荐(0) 编辑

上一页 1 ··· 18 19 20 21 22