当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 本人在应用C#做项目的时候有感于,TextBox的文本框中的数值类型的判断不方便,在C#BBS中查找是否有这样的类或函数,可惜我失望了!于是凭着愚钝的脑袋写了一个,测试情况还很满意,拿让网友指点一二,如果有比较好的,望不惜赁教!shixiang9076@sina.com。
 

 

 ·portlet规范介绍    »显示摘要«
    摘要: portlet api参考实现的秘密概要 在stefan hepper和stephan hesmer的portlet系列文章的第二部分中,作者把着笔点从portlet api的基础概要介绍转移到了portlet api的参考实现(ri reference implementation也就是pluto)的细节描述。作者还提供了一系列portlet的实例来说明怎样扩展portlet api的标......
 ·用数组移动字符串    »显示摘要«
    摘要:这是2个对字符串处理的互逆函数功能:移动字符串用发:arymoveleft("字符串",移动的个数)例:dim strgstrg="123456789"strg=arymoveleft(strg,2)结果:strg="345678912"public function arymoveleft(str, count) if count = ......


【C#】整数类型的判断!

        本人在应用c#做项目的时候有感于,textbox的文本框中的数值类型的判断不方便,在c#bbs中查找是否有这样的类或函数,可惜我失望了!于是凭着愚钝的脑袋写了一个,测试情况还很满意,拿让网友指点一二,如果有比较好的,望不惜赁教!shixiang9076@sina.com.

【程序编程相关:ImageList控件的问题

【推荐阅读:IBM p630 采用磁带恢复AIX5.

using system; 【扩展信息:《C++语言的设计和演化》书评

using system.drawing;

using system.collections;

using system.componentmodel;

using system.windows.forms;

using system.data;

namespace winmarket

{

 /// <summary>

 /// classfun 的摘要说明.

 /// </summary>

 public class classfun

 {

    private bool   isbool;

  

  public classfun()

  {

   //

   // todo: 在此处添加构造函数逻辑

   //

  }

//----------判断是否是整数 -----------------

  public  bool isint(string tbstr)

  {

//   string sign="+-";

   string intstr="1234567890";

   string intsign;

   int intstrsub,intindex;

   int intbool=0;

//   tbstr=tbstr.trim();

   if(tbstr.length==1)

   {


...   下一页
    摘要:public function ary(str) dim a() dim b() dim lenstr ´字符串长 dim i, j ´循环变量 dim ouflag lenstr = len(str) if lenstr mod 2 = 1 then ´长度为奇 ouflag = false lenstr = lenstr + 1 redim a(2, len......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE