天涯一飘絮

导航

 
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页

2010年12月5日

摘要: 1. 东日IrisSkin IrisSkin 共有两个版本,一个是IrisSkin.dll 用于.Net Framework1.0/1.1 和IrisSkin2.dll 用于.Net Framework2.0版本。详细内容见安装文件的help文档。除此之外,东日还有两个很cool的Menu: MatrixMenu和WheelMenu。(详细内容请参见http://www.sunisoft.cn/irisskin)。2. Skin 这个是我最初使用过的换肤控件,通过添加一个com引用,然后初始化一个skin对象,通过InitializeSkin引入ssk文件进行换肤。(详细内容请参见http:/ 阅读全文
posted @ 2010-12-05 23:44 冰云 阅读(395) 评论(0) 推荐(0) 编辑
 
摘要: WeifenLuo.WinFormsUI.Docking是一个很强大的界面布局控件,可以保存自定义的布局为XML文件,可以加载XML配置文件.!先看一下效果使用说明:1.新建一个WinForm程序,创建4个窗体,FrmMain,窗口1,窗口2,窗口32.工具箱-选择项-浏览 选择WeifenLuo.WinFormsUI.Docking.dll动态库, 确定后,工具箱中会多出一个DockPanel控件3.FrmMain窗体设置为MDI窗体, 即IsMdiContainer属性设置为True,拖入一个DockPanel控件,Dock属性设置为Fill4.在解决方案中添加引用WeifenLuo. 阅读全文
posted @ 2010-12-05 23:40 冰云 阅读(544) 评论(0) 推荐(0) 编辑
 
摘要: 原理其实很简单,在cmd.exe下面ping一下几台机,然后用arp -a命令查看一下,这种方式比开多线程去循环扫描的方式来的简单而有效。   //首先来个循环ping一下那个网段的主机。  //其次用以下的函数去获取所有的局域网内有响应的ip地址列表   publicstaticArrayListGetAllLocalMachines()   {   Processp=newProcess();   p.StartInfo.FileName="cmd.exe";   p.StartInfo.UseShellExecute=false;   p.StartInfo.RedirectStanda 阅读全文
posted @ 2010-12-05 23:31 冰云 阅读(397) 评论(0) 推荐(0) 编辑
 
摘要: -~~~~~~~~~~Form1.cs文件~~~~~~~~~~--using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;//download by http://www.codefans.netnamespace MyClockApp{ public partial class Form1 : Form { public Form1() 阅读全文
posted @ 2010-12-05 23:23 冰云 阅读(438) 评论(0) 推荐(0) 编辑
 
摘要: c#操作XML方法 阅读全文
posted @ 2010-12-05 23:21 冰云 阅读(269) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Collections.Generic;using System.Drawing;using System.Windows.Forms;using System.ComponentModel;using System.Data;namespace WinHide{public partial class MainForm : Form{public MainForm(){ InitializeComponent();}#region 窗体隐藏部分void Timer1Tick(object sender, EventArgs e){if(th 阅读全文
posted @ 2010-12-05 23:13 冰云 阅读(373) 评论(0) 推荐(0) 编辑
 
摘要: 纯粘代码...代码 阅读全文
posted @ 2010-12-05 22:56 冰云 阅读(397) 评论(0) 推荐(0) 编辑
 
摘要: 一、下载 liangxiaorui 发布的[url=]http://u.115.com/file/f988b38a84[/url]重编译版、大约50多M二、将下载的重编译版解压到任意目录、然后覆盖到DevExpress安装目录、例如我的是D:\Program Files\DevExpress 2010.1 将解压目录里的 DXperience\Bin文件夹覆盖到D:\Program Files\DevExpress 2010.1\Components DXperience\DevExpress.DLL文件夹覆盖到D:\Program Files\DevExpress 2010.1\Comp 阅读全文
posted @ 2010-12-05 22:53 冰云 阅读(1418) 评论(1) 推荐(1) 编辑
 
摘要: /// summary 02/// 实现“背景色渐变”的功能。【尚不完善】 03/// /summary 04/// param name="e"/param 05protected override void OnPaintBackground(PaintEventArgs e) 06{ 07int y, dy; 08//y=this.Height-this.ClientRectangle.Height; 09y = this.ClientRectangle.Location.Y; 10dy = this.ClientRectangle.Height / 256; 11for 阅读全文
posted @ 2010-12-05 22:43 冰云 阅读(463) 评论(0) 推荐(0) 编辑
 
摘要: using System;using System.Drawing;using System.Windows.Forms;using System.IO;namespace ICOTest{ public partial class Form1 : Form { string FileName = "C:\\"; public Form1() { InitializeComponent(); } //核心代码 private void button1_Click(object sender, EventArgs e) { Size size = new Size(32, 32); //获得原始 阅读全文
posted @ 2010-12-05 22:37 冰云 阅读(1152) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页