上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 55 下一页
摘要: 原来的文件路径名FileOldPath; 新的文件路径名:FileNewPath, 那就可以用 File.Move(FileOldPath,FileNewPath) 或者File.Copy(FileOldPath,FileNewPath) 注意的是这里的路径是文件夹路径+文件名,可以用Path.Co 阅读全文
posted @ 2012-02-21 15:55 无恨星晨 阅读(1742) 评论(0) 推荐(0)
摘要: 解释:1。UI执行A2。UI开线程beginInvokeThread,B和C同时执行,B执行在线程UI上,C执行在线程beginInvokeThread上。3。beginInvokeThread封送消息给UI,然后自己继续执行代码D,UI处理完消息后,处理invokeThread封送的消息,即代码段 阅读全文
posted @ 2012-02-08 15:18 无恨星晨 阅读(257) 评论(0) 推荐(0)
摘要: 1把IrisSkin2.dll和.SSK文件复制到bin\Debug目录下(.SSK我放在了skin文件夹下);2.在工程里添加引用;3.在form上添加两个Button: button1,button2;4.代码:public partial class Form1 : Form { Sunisoft.IrisSkin.SkinEngine se = null; public Form1() { InitializeComponent(); se = new Sunisoft.IrisSkin.SkinEngine(); se.SkinAllForm = true; } private vo 阅读全文
posted @ 2012-02-06 09:05 无恨星晨 阅读(289) 评论(0) 推荐(0)
摘要: 关于sqlite3使用top的一些规则总结 最近需要做一些关于sqlite3里使用像在sqlserver 里top的一些语法,即根据条件显示前几条的数据记录,在sqlite3中没有top这样的语法,查了好多资料终于找到了可以实现相同效果的sqlite3 sql语句,供大家交流: sqlite3 sq 阅读全文
posted @ 2012-02-04 15:21 无恨星晨 阅读(17389) 评论(2) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;using System.Threading;using System.Collections;n 阅读全文
posted @ 2012-01-07 09:35 无恨星晨 阅读(544) 评论(0) 推荐(0)
摘要: public static void ExportToWord(DataGridView dgv, ProgressBar progress, SaveFileDialog savefile) { Microsoft.Office.Interop.Word.Document WordDoc = ne 阅读全文
posted @ 2012-01-06 15:01 无恨星晨 阅读(603) 评论(0) 推荐(0)
摘要: 1、FileSystemWatcher用途: FileSystemWatcher 元件用來監視檔案系統,而當檔案系統所包含的目錄或檔案變更時,也可以利用它來回應。這讓您能夠在特定檔案或目錄被建立、修改或刪除時快速且容易啟動商務處理流程。 注:FileSystemWatcher元件是設計來監視目錄內的 阅读全文
posted @ 2012-01-04 15:18 无恨星晨 阅读(499) 评论(0) 推荐(0)
摘要: 一、windows server 2003 3790版本识别 RTM=release to manufacture (公开发行批量生产)是给硬件制造商的版本!是送去压盘的,不是拿去卖的。 OEM=Original Equipment Manufacturer只能全新安装, 和RTM差不多,只是称呼不同而已。 RTL=retail(零售)正式零售版,可以升级或者全新安装。 VLK=Volume License大量授权版,又称为企业版。无需激活。(网上所谓的简体中文VLK版 实际是普通简体中文版加英文VLK版中的8个文件而已) 二、Windows Server 2003的不同版本 Windows. 阅读全文
posted @ 2011-12-30 16:49 无恨星晨 阅读(835) 评论(0) 推荐(0)
摘要: ExcelData 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using MyXls.SL2; 6 using org.in2bits.MyXls; 阅读全文
posted @ 2011-12-30 09:10 无恨星晨 阅读(759) 评论(0) 推荐(0)
摘要: 如何做到编辑像文本域,又能够即时所见呢?答案就是使用iframe作为内容编辑区域。iframe本身也是一个嵌套页面,它如何能够被编辑呢?这里有一些关键的属性,它们可以做到让iframe可以被编辑。 (1). 用ifr.contentDocument || ifr.contentWindow.docu 阅读全文
posted @ 2011-12-30 08:54 无恨星晨 阅读(820) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 55 下一页