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

📄 frmmain.frm

📁 会计管理信息系统windows界面vb编程 会计管理信息系统windows界面vb编程
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmMain 
   Caption         =   "梅花会计信息系统"
   ClientHeight    =   11115
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   15240
   Icon            =   "frmMain.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   ScaleHeight     =   11115
   ScaleWidth      =   15240
   WindowState     =   2  'Maximized
   Begin VB.PictureBox Picture1 
      Height          =   11175
      Left            =   0
      Picture         =   "frmMain.frx":014A
      ScaleHeight     =   11115
      ScaleWidth      =   15195
      TabIndex        =   0
      Top             =   0
      Width           =   15255
      Begin VB.OptionButton Option1 
         BackColor       =   &H80000014&
         Caption         =   "Access数据库"
         Height          =   375
         Left            =   11280
         TabIndex        =   7
         Top             =   7680
         Value           =   -1  'True
         Width           =   1695
      End
      Begin VB.OptionButton Option2 
         BackColor       =   &H80000014&
         Caption         =   "SQL Server数据库"
         Height          =   375
         Left            =   11280
         TabIndex        =   6
         Top             =   8280
         Width           =   2175
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "科目字典"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   18
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H00000000&
         Height          =   375
         Index           =   0
         Left            =   5040
         TabIndex        =   2
         Top             =   5400
         Width           =   1440
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "账簿输出"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   18
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   3
         Left            =   11520
         TabIndex        =   5
         Top             =   5400
         Width           =   1440
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "凭证汇总"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   18
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   2
         Left            =   9480
         TabIndex        =   4
         Top             =   5400
         Width           =   1440
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "凭证处理"
         BeginProperty Font 
            Name            =   "华文行楷"
            Size            =   18
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Index           =   1
         Left            =   7320
         TabIndex        =   3
         Top             =   5400
         Width           =   1440
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "梅花会计信息系统"
         BeginProperty Font 
            Name            =   "隶书"
            Size            =   72
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   1440
         Left            =   240
         TabIndex        =   1
         Top             =   480
         Width           =   11520
      End
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Label2_Click(Index As Integer)
    Select Case Index
        Case 0
            frmQuerry.Show
        Case 1
            frmPzcl.Show
        Case 2
            frmPzhz.Show
        Case 3
            frmAccount.Show
    End Select
End Sub

Private Sub Label2_MouseMove(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)

    Select Case Index
        Case 0
            Label2(0).ForeColor = &HFF0000
            Label2(0).Left = 5055
            Label2(0).top = 5415
        Case 1
            Label2(1).ForeColor = &HFF0000
            Label2(1).Left = 7335
            Label2(1).top = 5415
        Case 2
            Label2(2).ForeColor = &HFF0000
            Label2(2).Left = 9495
            Label2(2).top = 5415
        Case 3
            Label2(3).ForeColor = &HFF0000
            Label2(3).Left = 11535
            Label2(3).top = 5415
    End Select
End Sub

Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Dim i As Integer
    For i = 0 To 3
        Label2(i).ForeColor = &H0&
        Label2(i).top = 5400
    Next i
    Label2(0).Left = 5040
    Label2(1).Left = 7320
    Label2(2).Left = 9480
    Label2(3).Left = 11520
End Sub
Private Sub Option1_Click()
    ModuleSql.stringSql = False
    ModuleSql.Main
End Sub

Private Sub Option2_Click()
    ModuleSql.stringSql = True
    ModuleSql.Main
End Sub

⌨️ 快捷键说明

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