自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (3)
  • 收藏
  • 关注

转载 C#本身自带的X进制之间的转换

<br />//十进制转二进制<br />Console.WriteLine(Convert.ToString(69, 2));<br />//十进制转八进制<br />Console.WriteLine(Convert.ToString(69, 8));<br />//十进制转十六进制<br />Console.WriteLine(Convert.ToString(69, 16));<br />//二进制转十进制<br />Console.WriteLine(Convert.ToInt32(”100111

2010-11-23 12:38:00 989

转载 Winform的多线程问题

<br />在System.Threading命名空间下,包含了用于创建和控制线程的Thread类。对线程的常用操作有:启动线程、终止线程、合并线程和让线程休眠等。    1. 启动线程<br />    在使用线程前,首先要创建一个线程。其一般形式为:<br />Thread t=new Thread(enterPoint);<br />    其中enterPoint为线程的入口,即线程开始执行的方法。在托管代码中,通过委托处理线程执行的代码。例如:<br />Thread t=new Thread(n

2010-11-10 17:07:00 12795

转载 WPF的多线程问题

原帖  WPF线程处理模型 收藏 http://msdn.microsoft.com/zh-cn/library/ms741870.aspxWindows Presentation Foundation线程处理模型更新:2007 年 11 月Windows Presentation Foundation (WPF) 旨在帮助开发人员解决线程处理的难题。这样,大多数 WPF 开发人员就不必编写使用多个线程的接口。由于多线程程序很复杂且难以调试,因此只要存在单线程解决方案,就应避免使用多个线程。 但是,无论体系

2010-11-10 17:03:00 4859

转载 浅谈c#中使用lock的是与非

<br />1、从“最简单”的单例模式说起:<br />public class Singleton<br />{<br />    private static Singleton instance = null;<br />    private static readonly object syncRoot = new object();<br /><br />    private Singleton()<br />    {<br />    }<br /><br />    public sta

2010-11-10 13:35:00 1112

转载 XmlDocument与XPath(System.xml)

<br />    XPath 是 XML 的内容,这里 SelectNodes 是 C# 中 XmlDocument 或 XmlNode 的一个方法。SelectNodes 使用 XPath 来选取节点。<br />重要语法<br />SelectNodes("item")<br />从当前节点的儿子节点中选择名称为 item 的节点。<br />SelectNodes("/item")<br />从根节点的儿子节点中选择名称为 item 的节点。<br />SelectNodes("//item")<b

2010-11-09 09:40:00 1008

转载 在IIS6+Framework4.0上部署Silverlight4+WCF应用程序

<br />整个过程我们分为两部分来完成:第一步,在VS2010中发布应用程序,将需要部署到服务器上的内容发布到一个指定的文件夹;第二部,在服务器上进行部署和配置。我们先来做两个假定如下:<br />l 假定Web服务器地址(站点浏览路径):http://192.168.8.102<br />l 假定数据库服务器地址:192.168.8.101<br />下面我们就这两个步骤,进行详细说明:<br />一、在VS2010中发布应用程序<br />1. 开发环境VS2010,web站点http://local

2010-11-09 09:22:00 1577

WPF高级编程源代码

Professional WPF Programming: .NET Development with the Windows Presentation Foundation Chris Andrade, Shawn Livermore, Mike Meyers, Scott Van Vliet ISBN: 978-0-470-04180-2 Paperback 480 pages May 2007 Chaoter 2 Chapter 2: updated July 6, 2007 all examples with corrected namespaces and other corrections 812.15 KB Chapter 4 Code Chapter 4 code: updated July 5, 2007 with corrected namespaces and other corrections; 459.57 KB Chapter 5 Code 198.52 KB Chapter 6 Code 2.10 MB Chapter 7 Code Chapter 7 code: updated July 5, 2007 with corrected chapter number 1.38 MB Chapter 8 Chapter 8: updated July 9, 2007 with additional examples from the chapter 619.59 KB Chapter 9 Code Chapter 9 code: updated July 5, 2007 - eliminated nested zip files for samples structured as folders 48.29 KB Chapter 10 Chapter 10: updated July 12, 2007 with additional examples from the chapter and removed extraneous examples not related to the chapter 1.97 MB Chapter 11 Code 387.71 KB

2010-05-25

战神世界的小工具源代码

功能: 城市建设 资源计算(外部资源和军库资源) 陷阱计算(根据侦察报告自动计算陷阱数量)

2009-07-10

繁体中文系统下的报错

繁体中文系统下的报错

2008-03-12

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除