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

📄 mainfrm.frm

📁 高校科研管理信息系统包括科研项目管理、科研成果管理、学术论著管理、机构人员管理、文件资料管理等等
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form Mainfrm 
   Caption         =   "高校科研管理系统"
   ClientHeight    =   7350
   ClientLeft      =   165
   ClientTop       =   855
   ClientWidth     =   10920
   Icon            =   "Mainfrm.frx":0000
   LinkTopic       =   "Form5"
   ScaleHeight     =   7350
   ScaleWidth      =   10920
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox Picture1 
      AutoRedraw      =   -1  'True
      BackColor       =   &H00FF8080&
      Height          =   2535
      Left            =   1560
      ScaleHeight     =   2475
      ScaleWidth      =   3555
      TabIndex        =   1
      Top             =   1800
      Width           =   3615
      Begin VB.Label Label9 
         AutoSize        =   -1  'True
         BackColor       =   &H00FF8080&
         BackStyle       =   0  'Transparent
         Caption         =   "高校科研管理系统"
         BeginProperty Font 
            Name            =   "华文新魏"
            Size            =   48
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   975
         Left            =   0
         TabIndex        =   3
         Top             =   480
         Width           =   7800
      End
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   0
      Top             =   6975
      Width           =   10920
      _ExtentX        =   19262
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   4
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            AutoSize        =   1
            Object.Width           =   11033
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   1
            Alignment       =   1
            Enabled         =   0   'False
            TextSave        =   "CAPS"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   5
            Alignment       =   1
            TextSave        =   "下午 16:32"
         EndProperty
         BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   6
            Alignment       =   1
            TextSave        =   "2006-5-29"
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   4080
      Top             =   1080
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   32
      ImageHeight     =   32
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   9
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":044A
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":089C
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":0CEE
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":1008
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":145A
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":18AC
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":1CFE
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":2150
            Key             =   ""
         EndProperty
         BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Mainfrm.frx":249A
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   600
      Left            =   0
      TabIndex        =   2
      Top             =   0
      Width           =   10920
      _ExtentX        =   19262
      _ExtentY        =   1058
      ButtonWidth     =   1032
      ButtonHeight    =   1005
      Appearance      =   1
      Style           =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   14
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "系统管理"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "用户修改密码"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "项目参加人员信息"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "著作管理"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "期刊论文管理"
            ImageIndex      =   5
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "项目基本信息"
            ImageIndex      =   6
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "项目获奖信息"
            ImageIndex      =   7
         EndProperty
         BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            ImageIndex      =   8
            Style           =   3
         EndProperty
         BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "帮助文件"
            ImageIndex      =   8
         EndProperty
         BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Object.ToolTipText     =   "系统关于"
            ImageIndex      =   9
         EndProperty
         BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
      EndProperty
   End
   Begin VB.Image Image1 
      Height          =   855
      Left            =   3000
      Top             =   4800
      Width           =   1095
   End
   Begin VB.Menu sysManage 
      Caption         =   "系统管理(&S)"
      Begin VB.Menu sysManager 
         Caption         =   "系统管理(&S)"
      End
      Begin VB.Menu Userpasword 
         Caption         =   "用户密码管理(&U)"
      End
      Begin VB.Menu qq1 
         Caption         =   "-"
      End
      Begin VB.Menu BackSettings 
         Caption         =   "背景设置(&B)"
      End
      Begin VB.Menu qq6 
         Caption         =   "-"
      End
      Begin VB.Menu Exit 
         Caption         =   "退出(&E)"
      End
   End
   Begin VB.Menu RenInfo 
      Caption         =   "人员信息(&R)"
      Begin VB.Menu RenManage 
         Caption         =   "人员管理(R)"
      End
      Begin VB.Menu ZhuZuoManage 
         Caption         =   "著作管理(&Z)"
      End
      Begin VB.Menu qq2 
         Caption         =   "-"
      End
      Begin VB.Menu QKLWManage 
         Caption         =   "期刊论文管理(Q)"
      End
   End
   Begin VB.Menu XiangMuInfo 
      Caption         =   "项目信息(&X)"
      Begin VB.Menu XMJBQKManage 
         Caption         =   "项目基本情况管理(&X)"
      End
      Begin VB.Menu qq3 
         Caption         =   "-"
      End
      Begin VB.Menu HuoJiangManage 
         Caption         =   "项目获奖情况管理(&H)"
      End
   End
   Begin VB.Menu InfoFind 
      Caption         =   "信息检索(&I)"
      Begin VB.Menu FindRen 
         Caption         =   "人员检索与打印(&X)"
      End
      Begin VB.Menu FindZhuZuo 
         Caption         =   "著作检索与打印(&Z)"
      End
      Begin VB.Menu QQ4 
         Caption         =   "-"
      End
      Begin VB.Menu FindXmJiben 
         Caption         =   "基本项目检索与打印(&H)"
      End
      Begin VB.Menu FindHuoJianXM 
         Caption         =   "获奖项目检索与打印(&J)"
      End
      Begin VB.Menu qq5 
         Caption         =   "-"
      End
      Begin VB.Menu FindQiKanLW 
         Caption         =   "期刊论文检索与打印(&Q)"
      End
   End
   Begin VB.Menu SysHelp 
      Caption         =   "系统帮助(&H)"
      Begin VB.Menu SysAbout 
         Caption         =   "系统关于(A)"
      End
      Begin VB.Menu HelpFiles 
         Caption         =   "帮助文件(&H)"
      End
   End
End
Attribute VB_Name = "Mainfrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub BackSettings_Click()
frmOption.Show 1
End Sub

Private Sub Exit_Click()
End
End Sub

Private Sub FindHuoJianXM_Click()
strTableName = "项目获奖信息"
Form2.Show 1
End Sub

Private Sub FindQiKanLW_Click()
strTableName = "期刊论文信息"
Form2.Show 1

End Sub

Private Sub FindRen_Click() ''人员检索
strTableName = "项目参加人员信息"
Form2.Show 1
End Sub

Private Sub FindXmJiben_Click()
strTableName = "项目基本信息"
Form2.Show 1
End Sub

Private Sub FindZhuZuo_Click()
strTableName = "著作管理信息"
Form2.Show 1
End Sub

Private Sub Form_Resize()
On Error GoTo Err
Picture1.Top = Toolbar1.Height
Picture1.Left = 0
Picture1.Height = Me.ScaleHeight - StatusBar1.Height - Toolbar1.Height
Picture1.Width = Me.ScaleWidth
StatusBar1.Panels(1).Text = "状态"
Label9.Left = (Picture1.ScaleWidth - Label9.Width) / 2
Label9.Top = Picture1.ScaleHeight / 2 - Label9.Height / 2
Dim strS As String
strS = GetSetting(App.Title, "Settings", "BackPic", "")

If strS <> "" Then ''图片
    Image1.Picture = LoadPicture(strS)
    Picture1.Refresh
    Picture1.PaintPicture Image1.Picture, Picture1.ScaleTop, Picture1.ScaleLeft, Picture1.ScaleWidth, Picture1.ScaleHeight, 0, 0, Image1.Width, Image1.Height
Else ''颜色
    strS = GetSetting(App.Title, "Settings", "BackColor", "")
    If strS <> "" Then
        Picture1.BackColor = strS
    End If
End If

Err:
End Sub

Private Sub HelpFiles_Click() '''帮助文件
frmhelp.Show 1
End Sub

Private Sub HuoJiangManage_Click()
strTableName = "项目获奖信息"
Form1.Show 1

End Sub

Private Sub QKLWManage_Click()
strTableName = "期刊论文信息"
Form1.Show 1

End Sub

'项目基本信息
'期刊论文信息
'项目获奖信息
'著作管理信息
'项目参加人员信息

Private Sub RenInfo_Click()

End Sub

Private Sub RenManage_Click()
strTableName = "项目参加人员信息"
Form1.Show 1

End Sub

Private Sub SysAbout_Click() ''
frmAbout.Show 1
End Sub

Private Sub sysManager_Click() ''系统管理
    If UserName <> "admin" Then
        MsgBox "您不是管理员!请不要进入系统管理模块!", vbInformation, "提示"
        Exit Sub
    End If
Form3.Show 1
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1 ''系统管理
    Call sysManager_Click
Case 2 '用户密码
    Call Userpasword_Click
Case 4 ''
    Call RenManage_Click
Case 5 ''
    Call ZhuZuoManage_Click
Case 6 ''
    Call QKLWManage_Click
Case 8 ''
    Call XMJBQKManage_Click
Case 10 '
    Call HuoJiangManage_Click
Case 12 '''帮助
    Call HelpFiles_Click
Case 13 '''关于
    Call SysAbout_Click
End Select
End Sub


Private Sub Userpasword_Click()
    If UserName = "admin" Then
        MsgBox "您是管理员!请不要进入用户管理模块!", vbInformation, "提示"
        Exit Sub
    End If

Form4.Show 1

End Sub

Private Sub XMJBQKManage_Click()
strTableName = "项目基本信息"
Form1.Show 1

End Sub

Private Sub ZhuZuoManage_Click()
strTableName = "著作管理信息"
Form1.Show 1

End Sub

⌨️ 快捷键说明

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