⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conn.vb

📁 系统概要: 本系统采用VB.NET开发. 开发平台:Windows XP Professional SP2 (English Version) 开发环境:Visual Studio .NET
💻 VB
字号:

'
'    Copyright(C)2006,济南大学材料科学与工程学院
'    All right reserved.
'
'    文件名称:Connect.vb
'    文件标识:
'    摘    要:显示正在连接服务器窗体
'             为人性化显示为设计的
'
'    当前版本:2.0.0
'    作    者:梁  海
'    完成日期:2006-12-1
'
'    取代版本:
'    原作者  :
'    完成日期:
'
'    修改历史:
'
Public Class Conn
    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

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents lbMsg As System.Windows.Forms.Label
    Friend WithEvents tmClock As System.Windows.Forms.Timer
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Conn))
        Me.lbMsg = New System.Windows.Forms.Label
        Me.tmClock = New System.Windows.Forms.Timer(Me.components)
        Me.SuspendLayout()
        '
        'lbMsg
        '
        Me.lbMsg.BackColor = System.Drawing.Color.White
        Me.lbMsg.Font = New System.Drawing.Font("Microsoft Sans Serif", 20.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World)
        Me.lbMsg.ImeMode = System.Windows.Forms.ImeMode.NoControl
        Me.lbMsg.Location = New System.Drawing.Point(104, 40)
        Me.lbMsg.Name = "lbMsg"
        Me.lbMsg.Size = New System.Drawing.Size(64, 27)
        Me.lbMsg.TabIndex = 4
        Me.lbMsg.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'tmClock
        '
        Me.tmClock.Enabled = True
        Me.tmClock.Interval = 200
        '
        'Conn
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
        Me.BackColor = System.Drawing.Color.White
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.ClientSize = New System.Drawing.Size(258, 106)
        Me.Controls.Add(Me.lbMsg)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.Name = "Conn"
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "正在连接服务器..."
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub tmClock_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmClock.Tick

        Me.lbMsg.Text += "."
        If Me.lbMsg.Text.Length > 15 Then
            Me.lbMsg.Text = ""
        End If

    End Sub

End Class

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -