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

📄 form1.frm

📁 这是一个基于VB开发的程序,实现的是对仪器的查找和定期检修,并对检修的设备进行相关处理
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form main 
   BackColor       =   &H0080FF80&
   Caption         =   "熔注工部仪表管理系统"
   ClientHeight    =   8265
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   12015
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   Picture         =   "Form1.frx":0000
   ScaleHeight     =   8265
   ScaleWidth      =   12015
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   840
      Top             =   1440
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   50
      ImageHeight     =   50
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   8
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":8586
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":B048
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":DB0A
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":105CC
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":1308E
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":15B50
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":18612
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "Form1.frx":1B0D4
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   1065
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   12015
      _ExtentX        =   21193
      _ExtentY        =   1879
      ButtonWidth     =   1508
      ButtonHeight    =   1826
      Appearance      =   1
      Style           =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   13
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "仪表信息"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "送检信息"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "管理登陆"
            ImageIndex      =   2
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "密码修改"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "退出系统"
            ImageIndex      =   5
         EndProperty
         BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
      EndProperty
      BorderStyle     =   1
   End
   Begin VB.Line Line1 
      X1              =   0
      X2              =   15
      Y1              =   1080
      Y2              =   1095
   End
   Begin VB.Menu 基本信息 
      Caption         =   "仪表基本信息(&I)"
      Index           =   1
      Begin VB.Menu 查询修改 
         Caption         =   "查询修改"
      End
      Begin VB.Menu 信息 
         Caption         =   "基本信息"
         Index           =   2
         Shortcut        =   ^I
      End
   End
   Begin VB.Menu 提醒 
      Caption         =   "送检仪表查询(&S)"
      Begin VB.Menu 提醒到期 
         Caption         =   "七天内送检到期仪表"
         Shortcut        =   ^Q
      End
      Begin VB.Menu 输入查询天数 
         Caption         =   "按天数查询"
         Shortcut        =   ^C
      End
   End
   Begin VB.Menu 管理员 
      Caption         =   "管理员(&A)"
      Begin VB.Menu load 
         Caption         =   "管理员登陆"
         Shortcut        =   ^L
      End
      Begin VB.Menu admin 
         Caption         =   "管理员信息修改"
      End
      Begin VB.Menu update 
         Caption         =   "用户信息修改"
      End
      Begin VB.Menu newusers 
         Caption         =   "新用户注册"
      End
      Begin VB.Menu back 
         Caption         =   "管理员注销"
      End
   End
   Begin VB.Menu 个人资料修改 
      Caption         =   "用户密码修改(&U)"
   End
   Begin VB.Menu 注销 
      Caption         =   "退出系统(&E)"
   End
End
Attribute VB_Name = "main"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False







Private Sub admin_Click()
Form10.Show
End Sub




Private Sub back_Click()
admin.Enabled = False
update.Enabled = False
newusers.Enabled = False
back.Enabled = False
load.Enabled = True
main.查询修改.Enabled = False
MsgBox "注销成功!"
End Sub

Private Sub Form_Load()
       main.load.Enabled = True
       main.admin.Enabled = False
       main.update.Enabled = False
       main.newusers.Enabled = False
       main.back.Enabled = False
       main.查询修改.Enabled = False
       
End Sub



Private Sub Form_Unload(cancel As Integer)
  msg = MsgBox("您确定要退出本系统吗?", 36, "退出系统")
  If msg = 6 Then
  Unload Me
  Unload Form1
  Unload search
  Else
  cancel = 1
   End If
End Sub

Private Sub load_Click()
Form6.Show
End Sub

Private Sub newusers_Click()
Form5.Show
End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
  Case 3
     Form12.Show
  Case 5
      Form1.Show
  Case 7
     Form6.Show
  Case 9
      Form9.Show
  Case 11
  msg = MsgBox("您确定要退出本系统吗?", 36, "退出系统")
  If msg = 6 Then
  Unload Me
  Unload Form1
  Unload search
  Else
  cancel = 1
  End If

       
 End Select
End Sub

Private Sub update_Click()
Form8.Show
End Sub

Private Sub 查询修改_Click()
frm仪表1.Show 1


End Sub


Private Sub 个人资料修改_Click()
 Form9.Show
 Form9.Text1.Text = user
Form9.Text2.Text = password
End Sub

Private Sub 输入查询天数_Click()

inputdate.Show 1
End Sub

Private Sub 提醒到期_Click()
Form1.Show

End Sub

Private Sub 添加_Click()
Form4.Show 1
End Sub

Private Sub 退出_Click()
Unload Me
End Sub

Private Sub 信息_Click(Index As Integer)
Form12.Show
'frm仪表.Show 1
End Sub

Private Sub 用户注册_Click()
Form5.Show
End Sub

Private Sub 用户管理_Click()
Form6.Show
End Sub

Private Sub 注销_Click()

  Unload Me
  Unload Form1
  Unload search


End Sub

⌨️ 快捷键说明

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