上一页 1 ··· 429 430 431 432 433 434 435 436 437 ··· 455 下一页
public void GetComList() { RegistryKey keyCom = Registry.LocalMachine.OpenSubKey("Hardware/DeviceMap/SerialComm"); if (keyCom != null) { string[] sSubKeys = keyCom.GetValueNames(); this.comboBox3.Items.Clear(); fore... Read More
posted @ 2011-06-23 12:25 javawebsoa Views(459) Comments(0) Diggs(0) Edit
public void GetComList(ComboBox cbx) { //初始化COM口到列表 RegistryKey keyCom = Registry.LocalMachine.OpenSubKey("Hardware/DeviceMap/SerialComm"); if (keyCom != null) { string[] sSubKeys = keyCom.GetValueNames(); cbx.Items.Clear(); ... Read More
posted @ 2011-06-23 12:25 javawebsoa Views(151) Comments(0) Diggs(0) Edit
/// <summary> /// 转全角的函数(SBC case) /// </summary> /// <param name="input">任意字符串</param> /// <returns>全角字符串</returns> ///<remarks> ///全角空格为12288,半角空格为32 ///其他字符半角(33-126)与全角(65281-65374)的对应关系是:均相差65248 ///</remarks> public static string ToSBC( Read More
posted @ 2011-06-23 12:24 javawebsoa Views(180) Comments(0) Diggs(0) Edit
Excel是微软公司办公自动化套件中的一个软件,他主要是用来处理电子表格。Excel以其功能强大,界面友好等受到了许多用户的欢迎。在设计应用系 统时,对于不同的用户,他们对于打印的需求是不一样的,如果要使得程序中的打印功能适用于每一个用户,可以想象程序设计是十分复杂的。由于Excel表格 的功能强大,又由于几乎每一台机器都安装了它,如果把程序处理的结果放到Excel表格中,这样每一个用户就可以根据自己的需要在Excel中定制自己的 打印。这样不仅使得程序设计简单,而且又满足了诸多用户的要求,更加实用了。那么用Visual C#如何调用Excel,如何又把数据存放到Excel表格中?本文就来探讨 Read More
posted @ 2011-06-23 12:23 javawebsoa Views(284) Comments(0) Diggs(0) Edit
//GridView合并单元格//中间变量,存取TableCell private TableCell publishDateCell = null; protected void grvTest_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { //第一行,publishDateCell=null if (publishDateCell == null) ... Read More
posted @ 2011-06-23 12:23 javawebsoa Views(189) Comments(0) Diggs(0) Edit
/// <summary> /// 获取截图 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void btnGo_Click(object sender, EventArgs e) { HttpWebRequest myReq = (HttpWebRequest)HttpWebRequest.Create(txtAddress.Text); HttpWeb Read More
posted @ 2011-06-23 12:22 javawebsoa Views(439) Comments(0) Diggs(0) Edit
/// <summary> /// TreeView展开事件创建子节点,折叠事件进入展开事件将:EnableClientScript设置为false /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void TreeViewSilkItems_TreeNodeExpanded(object sender, TreeNodeEventArgs e) { if Read More
posted @ 2011-06-23 12:21 javawebsoa Views(334) Comments(0) Diggs(0) Edit
using System;using System.Collections.Generic;using System.Text;using System.Net;using System.IO;using System.Globalization;using System.Text.RegularExpressions;namespace WebBaseLib{ /// <summary> /// FTP处理操作类 /// 功能: /// 下载文件 /// 上传文件 /// 上传文件的进度信息 /// 下载文件的进度信息 /// 删除文件 ... Read More
posted @ 2011-06-23 12:19 javawebsoa Views(237) Comments(0) Diggs(0) Edit
++++++++++++++++++++++++++++++++++++++++++本文系本站原创,欢迎转载! 转载请注明出处:http://blog.csdn.net/mr_raptor/article/details/6558233++++++++++++++++++++++++++++++++++++++++++The Advanced Microcontroller Bus Architecture (AMBA) specification defines an on-chip communications standard for designing high-performance Read More
posted @ 2011-06-21 11:54 javawebsoa Views(246) Comments(0) Diggs(0) Edit
++++++++++++++++++++++++++++++++++++++++++本文系本站原创,欢迎转载! 转载请注明出处:http://blog.csdn.net/mr_raptor/article/details/6556451++++++++++++++++++++++++++++++++++++++++++1系统调用操作系统的主要功能是为应用程序的运行创建良好的环境,保障每个程序都可以最大化利用硬件资源,防止非法程序破坏其它应用程序执行环境,为了达到这个目的,操作系统会将硬件的操作权限交给内核来管理,用户程序不能随意使用硬件,使用硬件(对硬件寄存器进行读写)时要先向操作系统发出请求 Read More
posted @ 2011-06-20 15:42 javawebsoa Views(281) Comments(0) Diggs(0) Edit
上一页 1 ··· 429 430 431 432 433 434 435 436 437 ··· 455 下一页