-
[2004-10-01] Delegate的实际应用。
下面的代码通过代表元Delegate简化代码的编写,在运行时将调用不同的代表元方法,然后显示相应的运行结果。
在VB.NET中,代表元Delegate有点类似C语言中的指针,也就是说它...
-
[2004-10-01] 关于在DataGrid里添加ComboBox(二)
忘记说了一和二共同组成form2.cs文件
//
// btnUpdate
 ...
-
[2004-10-01] 关于在DataGrid里添加ComboBox(三)
sjDataGridComboBox.cs
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
namespace ComboBoxInDataGrid
{
...
-
[2004-10-01] 鸿雪、SohoLife,关于在WinForm中引用Web变量的问题
//先添加引用System.Web.Dll
System.Web.HttpContext context=System.Web.HttpContext.Current;
System.Web.HttpResponse response=context.Response;
System.Web.HttpSession session=context.Session;
System...
-
[2004-10-01] 前面加这个
[Category("分类名称"),Description("此属性的描述信息")]
public string property1
{
get{
}
set{
}
}
注意,要...
-
[2004-10-01] 昨天在WINFORM里已经讨论过这个问题了
其实有N种方法,:
1、改变子FORM的初始化函数(带参数就行了,参数为传输的值);
2、设置传递的数据类(WINFORM里讨论了);
3、设置父FORM属性,在生成子FORM时就传递(不能在子FORM要操作数据的时候才想到传...
-
[2004-10-01] .NET Remoting编程简介(转)
.NET Remoting编程简介
(刘彦青编译 2001年11月02日 09:25)
.NET Remoting提供了一个功能强大、高效的处理远程对象的方法,从结构上而言,.NET Remote对象非常适合通过网络访问资源,而又无需处理由基于SO...
-
[2004-10-01] .NET 世界中的远程脚本 (转)
.NET 世界中的远程脚本
Andrew Clinick
Microsoft Corporation
2001年11月12日
查看示例 service_vb.htm(英文)
查看示例 service_jscript.htm(英文)
查看 clsWeatherVB.asmx 的代码(英文)
查看 clsWea...
-
[2004-10-01] 虽然不是.NET的,但对我们理解回调有帮助:如何控制其他程序窗体上的窗口控件:上
如何控制其他程序窗体上的窗口控件:上
首先申明:我是菜鸟,我只不过想把困绕了我很长时间的问题的解决方案发表出来,免得以后我又忘记,同时给还不知道这些小知识的同僚一些帮助。各位不要笑我的浅薄。同时为了表...
-
[2004-10-01] 在vs3下调试无误的pop3收信程序
using System.Net.Sockets;
using System.Collections;
using System.IO;
using System.Net;
using System;
using System.Web.Mail;
public class POP3
{
string POPServer;
&nb...
-
[2004-10-01] C#下实现动态系统托盘图标
C#下实现动态系统托盘图标
(王凯明 2001年12月25日 15:27)
Visual C#是微软公司推出的下一代程序开发语言,是微软.Net框架中的的一个重要组成部分。微软的.Net平台堪称为新一代的互联网平台。对于技术开发人...
-
[2004-10-01] 当然可以,给你个例子
注意类前面的[xmlinclude]那部分
using System;
using System.Collections ;
using System.IO ;
using System.Xml.Serialization;
using System.Diagnostics ;
namespace Bigeagle.Model.Base
{
 ...
-
[2004-10-01] michael_wp原创:用.net实现zip----1
//ZipEntry.cs
using System;
using System.IO;
namespace OrganicBit.Zip {
/// <summary>Specifies how the the zip entry should be compressed.</summary>
&nb...
-
[2004-10-01] michael_wp原创:用.net实现zip----3
//ZipException.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
/// <summary>Thrown whenever an error occurs during the build.</su...
-
[2004-10-01] michael_wp原创:用.net实现zip----2
//ZipEntryCollection.cs
using System;
using System.Collections;
namespace OrganicBit.Zip {
/// <summary>A collection that stores <see cre...
-
[2004-10-01] michael_wp原创:用.net实现zip----4-2
/// <summary>Global information about the zip file.</summary>
[StructLayout(LayoutKind.Sequential)]
internal struct ZipFileInfo {
...
-
[2004-10-01] michael_wp原创:用.net实现zip----4
//ZipLib.cs
using System;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
namespace OrganicBit.Zip {
/// <summary>Support methods for unco...
-
[2004-10-01] michael_wp原创:用.net实现zip----5
//ZipReader.cs
using System;
using System.Collections;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
/// <summary>Provides support for reading file...
-
[2004-10-01] michael_wp原创:用.net实现zip----6
//ZipWriter.cs
using System;
using System.Runtime.Serialization;
namespace OrganicBit.Zip {
/// <summary>Provides support for writing files in the ZIP file format. ...
-
[2004-10-01] vb中使用Windows Forms(转)
1.丰富的控件集
使用System.Windows.Forms 名字空间中的类,你可以创建Visual Basic .NET 应用程序并获取Microsoft Windows 操作系统中可以使用的丰富用户界面特征的所有好处.这个名字空间提供了Form 类和许多其他...