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

📄 frmwelcome.frm

📁 软件工程实验报告 银行储蓄管理系统 1.可行性分析 2.总体设计 3.详细设计 4.实验报告模板
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmWelcome 
   BackColor       =   &H00404040&
   BorderStyle     =   0  'None
   Caption         =   "欢迎"
   ClientHeight    =   4770
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   6495
   LinkTopic       =   "Form1"
   ScaleHeight     =   4770
   ScaleWidth      =   6495
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.Timer timer 
      Left            =   0
      Top             =   0
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "2003.9"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   2
      Left            =   240
      TabIndex        =   5
      Top             =   4440
      Width           =   540
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "v1.0"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   5
      Left            =   6000
      TabIndex        =   4
      Top             =   120
      Width           =   360
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "单位:江西省科学院 NIIT"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   4
      Left            =   4200
      TabIndex        =   3
      Top             =   4440
      Width           =   2070
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "作者:万波"
      ForeColor       =   &H00FFFFFF&
      Height          =   180
      Index           =   3
      Left            =   4200
      TabIndex        =   2
      Top             =   4080
      Width           =   900
   End
   Begin VB.Line line 
      BorderColor     =   &H00FFFFFF&
      X1              =   360
      X2              =   6120
      Y1              =   2400
      Y2              =   2400
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Weboy 银行管理系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   24
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   495
      Index           =   0
      Left            =   1080
      TabIndex        =   1
      Top             =   1200
      Width           =   4320
   End
   Begin VB.Label lbl 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "欢迎使用此软件"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FFFFFF&
      Height          =   315
      Index           =   1
      Left            =   2160
      TabIndex        =   0
      Top             =   3000
      Width           =   2205
   End
End
Attribute VB_Name = "frmWelcome"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long

Private Sub Form_Load()
    timer.Interval = 1000
End Sub

Private Sub timer_Timer()
    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    '获取本地计算机名并将其同赋给全局变量 myComputerName↓
    ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    Dim name As String
    name = String(225, " ")
    Call GetComputerName(name, 225)
    name = RTrim(name)
    myComputerName = name
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    '根据条件查找网络中的SQL服务器名并将其赋给 frmLand.cmbSName↓
    '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
    On Error GoTo err1
    If GetSetting("weboy", "weboyBank", "IfSaveSvName") = 1 Then
        frmLand.cmbSName = GetSetting("weboy", "weboyBank", "SName")
        frmLand.chkSS.Value = 1
    Else
err1:
        If getSNameList() = False Then
            MsgBox "服务器名加载错误,请稍后自行指定", vbExclamation, "提示"
        End If
    End If
    ''''''''''''''''''''''''''''''''''''
    Unload Me
    frmLand.Show
    frmLand.SetFocus
End Sub

⌨️ 快捷键说明

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