当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: using System;using System.Drawin
 

 

 ·.net官方编码方法和命名规则     »显示摘要«
    摘要:见asp?url=/library/chs/vsent7/html/vxconcodingtechniques.asp">http://msdn.microsoft.com/library/chs/default.asp?url=/library/chs/vsent7/html/vxconcodingtechniques.aspvisual studio 编码方法编码方法合并了软件开发的许多方面。......
 ·用asp.net编写多层架构的系统     »显示摘要«
    摘要:千万不要被标题吓倒,其实很简单。不然只能一辈子写面条式的程序了。特别是asp程序员大多写都是3 in 1 (超白金版:p)的程序,勉强能写成分层式的也是高手中的高手,这种大虾估计早就转型当系统分析员了。一般来说系统大多分为三层(据说分三层很好):用户层、逻辑层、数据层。也可能不叫这几个名字,但是不管怎么说功能大体应该一样。说到功能请看下面用户层:就是主要与用户打交道,也就是用户界面。什么输入框啊、......


C#版MultiSelected DataGrid
using system;using system.drawing;using system.collections;using system.windows.forms;namespace csharpdatagrid{  public class mydatagrid : system.windows.forms.datagrid {  private arraylist m=new arraylist();  array multiselectedindex  {   get   {    return this.m.toarray(typeof (int));   }  }     protected override void onmousedown(system.windows.forms.mouseeventargs e)  {   console.writeline("datagrid has hit");   point _posdg = new point(e.x,e.y);   system.windows.forms.datagrid.hittestinfo _hitdg =base.hittest(_posdg);   if (hitdatagrid(_hitdg))   {    base.onmousedown(e);   }   base.onmousedown (e);  }  private bool hitdatagrid(datagrid.hittestinfo hit)  {   try   { &
...   下一页
    摘要:com与.net互操作 一、.net调用com组件 .net调用com组件主要分为两类:静态调用及动态调用。 所谓静态调用:指通过通过tlbimp.exe命名产生com组件在.net环境下的包装类,然后通过这个包装类来访问com组件。 所谓动态调用:是指不通过com组件的包装类来进行com组件调用,而是在远行时通过反射来进行com组件调用。 下面将分别详细的讨论这两种......
» 本期热门文章:

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