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

📄 main.frm

📁 thi si a source code of VIP library. helful in chatting
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm Main 
   Appearance      =   0  'Flat
   AutoShowChildren=   0   'False
   BackColor       =   &H80000003&
   Caption         =   "vipin"
   ClientHeight    =   3090
   ClientLeft      =   165
   ClientTop       =   450
   ClientWidth     =   4680
   Icon            =   "Main.frx":0000
   LinkTopic       =   "MDIForm1"
   WindowState     =   2  'Maximized
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   5640
      Top             =   3840
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   16
      ImageHeight     =   16
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   9
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":0442
            Key             =   "Userstat"
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":089A
            Key             =   "AddStu"
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":1176
            Key             =   "IssueBk"
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":15CA
            Key             =   "BkStat"
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":1A1E
            Key             =   "AddBk"
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":1D3A
            Key             =   "About"
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":2D66
            Key             =   "DepBk"
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":31BA
            Key             =   "UserOpt"
         EndProperty
         BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Main.frx":3612
            Key             =   "Exit"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   420
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   741
      ButtonWidth     =   609
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   9
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "STUSTAT"
            Object.ToolTipText     =   "Shows user status form."
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "ADDSTU"
            Object.ToolTipText     =   "Add student to Library's membership."
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "ISSUEBK"
            Object.ToolTipText     =   "Open the Issuebook tool."
            ImageIndex      =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "LIBSTAT"
            Object.ToolTipText     =   "Shows library's status."
            ImageIndex      =   4
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "ADDBK"
            Object.ToolTipText     =   "Shows Book mangement."
            ImageIndex      =   5
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "DEPBK"
            Object.ToolTipText     =   "Shows The deposit book tool."
            ImageIndex      =   7
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "ADDUSER"
            Object.ToolTipText     =   "Shows user manage option to access this application."
            ImageIndex      =   8
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "ABOUT"
            Object.ToolTipText     =   "About."
            ImageIndex      =   6
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Key             =   "EXIT"
            Object.ToolTipText     =   "Exit the application."
            ImageIndex      =   9
            BeginProperty ButtonMenus {66833FEC-8583-11D1-B16A-00C0F0283628} 
               NumButtonMenus  =   1
               BeginProperty ButtonMenu1 {66833FEE-8583-11D1-B16A-00C0F0283628} 
               EndProperty
            EndProperty
         EndProperty
      EndProperty
   End
   Begin VB.Timer Timer1 
      Interval        =   50
      Left            =   3360
      Top             =   2760
   End
   Begin VB.Menu Status 
      Caption         =   "&Status"
      Begin VB.Menu ofstudent 
         Caption         =   "Of S&tudent"
         Shortcut        =   ^S
      End
      Begin VB.Menu oflibrary 
         Caption         =   "Of &Library"
         Shortcut        =   ^L
      End
   End
   Begin VB.Menu Tools 
      Caption         =   "&Tools"
      Begin VB.Menu Depositb 
         Caption         =   "&Deposit Books"
         Shortcut        =   ^D
      End
      Begin VB.Menu Issueb 
         Caption         =   "Issue &Books"
         Shortcut        =   ^I
      End
      Begin VB.Menu useropt 
         Caption         =   "User Option"
         Shortcut        =   ^U
      End
   End
   Begin VB.Menu Dbase 
      Caption         =   "&Database"
      Begin VB.Menu Stu 
         Caption         =   "&Student"
         Shortcut        =   ^A
      End
      Begin VB.Menu Books 
         Caption         =   "&Books"
         Shortcut        =   ^B
      End
   End
   Begin VB.Menu Aboutp 
      Caption         =   "&About"
   End
   Begin VB.Menu Exit 
      Caption         =   "E&xit"
   End
   Begin VB.Menu Short 
      Caption         =   "short"
      Visible         =   0   'False
      Begin VB.Menu DepBooks 
         Caption         =   "&Deposit Books"
      End
      Begin VB.Menu Issuebook 
         Caption         =   "&Issue Books"
      End
      Begin VB.Menu Addstup 
         Caption         =   "Add &Student"
      End
      Begin VB.Menu AddBookp 
         Caption         =   "Add &Books"
      End
      Begin VB.Menu About 
         Caption         =   "&About"
      End
   End
End
Attribute VB_Name = "Main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public str As String
Public v, i As Integer
'This library project is created by Vipin Panicker. E-Mail: itsvipin@hotmail.com

Private Sub Aboutp_Click()
frmAbout.Show
End Sub

Private Sub AddBookp_Click()
AddBook.Show
End Sub

Private Sub AddBook_Click()

End Sub

Private Sub Addstup_Click()
Addstu.Show
End Sub

Private Sub Books_Click()
AddBook.Show
End Sub

Private Sub DepBooks_Click()
Deposit.Show
End Sub

Private Sub Exit_Click()
Unload Me
End Sub

Private Sub Issuebook_Click()
Issue.Show
End Sub

Private Sub MDIForm_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
    PopupMenu Short
End If
End Sub

Private Sub Stu_Click()
Addstu.Show
End Sub

Private Sub Timer1_Timer()
Me.Caption = Left$(str, i)
i = i + 1
If i = v Then
    i = 0
End If
End Sub



Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "STUSTAT"
    Call ofstudent_Click
Case "ADDSTU"
    Call Addstup_Click
Case "ISSUEBK"
    Call Issuebook_Click
Case "LIBSTAT"
    Call oflibrary_Click
Case "ADDBK"
    Call Books_Click
Case "DEPBK"
    Call Depositb_Click
Case "ADDUSER"
    Call useropt_Click
Case "ABOUT"
    Call Aboutp_Click
Case "EXIT"
    Call Exit_Click
End Select
End Sub

Private Sub useropt_Click()
Useroption.Show
End Sub


Private Sub Depositb_Click()
Deposit.Show
End Sub

Private Sub Issueb_Click()
Issue.Show
End Sub

Private Sub MDIForm_Load()
Main.Caption = frmLogin.Data1.Recordset.Fields("School Name") & "   itsvipin@hotmail.com "
str = Me.Caption
v = Len(str)
End Sub

Private Sub MDIForm_Unload(Cancel As Integer)
    If Cancel = 0 Then
        i = MsgBox("Do you want to exit this application.", vbYesNo)
        If i = vbYes Then
            End
        Else
            Cancel = 1
        End If
    End If
End Sub

Private Sub oflibrary_Click()
Issuedb.Show
End Sub

Private Sub ofstudent_Click()
StuAdvance.Show
End Sub


⌨️ 快捷键说明

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