• 您的位置我爱Aspx >> VB.Net >> 用VB.NET创建一个三层应用程序的例子……
  • 用VB.NET创建一个三层应用程序的例子……

  • 作者:aspxer  来源:internet  日期:2007-5-20 14:02:24  关键字:.net,三层
  • 表示层的完整代码如下:

    Imports Data_Access_表示层

    Public Class Form1

    Inherits System.Windows.Forms.Form

    #Region " Windows Form Designer generated code "

    Public Sub New()

    MyBase.New()

    @#This call is required by the Windows Form Designer.

    InitializeComponent()

    @#Add any initialization after the InitializeComponent() call

    End Sub

    @#Form overrides dispose to clean up the component list.

    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)

    If disposing Then

    If Not (components Is Nothing) Then

    components.Dispose()

    End If

    End If

    MyBase.Dispose(disposing)

    End Sub

    Friend WithEvents Button1 As System.Windows.Forms.Button

    Friend WithEvents Button2 As System.Windows.Forms.Button

    Friend WithEvents Button3 As System.Windows.Forms.Button

    我对这篇文章有话说?
  • 广告位招租,广告代号:content_468_15
  • 上一篇:没有了!
    下一篇:Visual Basic .NET支持动态属性……