摘要: 文本控件1. TextBox1.1 创建密码文本框eg: textBox1.UseSystemPasswordChar = true; textBox1.PasswordChar = '*';1.2 突出显示文本框文本eg: textBox1.Text = "大江东去,浪淘尽,千古风流人物"; textBox1.SelectionStart = 3; //从位置3开始选择 textBox1.SelectionLength = 5; //选择5个字符 2. RichTextBox2.1 richTextBox1.SelectionIndent = 8; //使 阅读全文
posted @ 2011-08-05 17:13 静默虚空 阅读(588) 评论(0) 推荐(0)
摘要: Data Control AccessDataSourceadsadsPubsDataListdlstdlstTitlesDetailViewdvwdvwTitlesFormViewfvwfvwFontsGridViewgvwgvwCityObjectDataSourceodsodsMenusRepeaterrptrptQueryResultsReportViewerrvwrvwRecordSiteMapDataSourcesmdssmdsSiteSqlDataSourcesdssdsBooksXmlDataSourcexdsxdsTitlesValidation Control类 型前 缀示 阅读全文
posted @ 2011-08-05 16:45 静默虚空 阅读(333) 评论(0) 推荐(1)
摘要: 1. 常用属性列表: SelectionMode 组件中条目的选择类型,即多选(Multiple)、单选(Single) Rows 列表框中显示总共多少行 Selected 检测条目是否被选中 SelectedItem 返回的类型是ListItem,获得列表框中被选择的条目 Count 列表框中条目的总数 SelectedIndex 列表框中被选择项的索引值 Items 泛指列表框中的所有项,每一项的类型都是ListItem2. 取被选中项的值 ListBox.SelectedValue 3. 添加项: ListBox.Items.Add("所要添加的项");4. 移出指定 阅读全文
posted @ 2011-08-04 13:45 静默虚空 阅读(1011) 评论(0) 推荐(0)
摘要: MPEG-2系统原理一、MPEG-2系统原理第一章 MPEG-2简介什么是MPEG和MPEG-2? MPEG是MovingPictureExpertsGroup的简称, MPEG-2是MPEG和ISO组织设计的一个数字视频压缩规范,主要用于DVD和DVB上,当前的标准文档是ISO 13818。 什么... 阅读全文
posted @ 2011-08-01 11:03 静默虚空 阅读(2836) 评论(1) 推荐(2)
摘要: using System;using System.Collections.Generic;using System.Text;namespace Bit{ /*class methods for bits operation*/ public class BitOperation { public Byte setBit(Byte targetByte, int targetPos, int value) { if ((value == 0 || value == 1) && (targetPos >= 0 && targetPos < 8)) { 阅读全文
posted @ 2011-07-29 17:30 静默虚空 阅读(390) 评论(0) 推荐(0)