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

📄 rest.frm

📁 主从报警系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form rest 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Well, human need rest,doesn't it?"
   ClientHeight    =   8205
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   10515
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "rest.frx":0000
   ScaleHeight     =   8623.181
   ScaleMode       =   0  'User
   ScaleWidth      =   10854.67
   StartUpPosition =   1  '所有者中心
   Visible         =   0   'False
   Begin VB.PictureBox p2 
      Height          =   2010
      Left            =   8400
      Picture         =   "rest.frx":1F0F8
      ScaleHeight     =   1950
      ScaleWidth      =   1950
      TabIndex        =   3
      Top             =   120
      Width           =   2010
   End
   Begin VB.PictureBox p1 
      Height          =   2010
      Left            =   120
      Picture         =   "rest.frx":209B9
      ScaleHeight     =   1950
      ScaleWidth      =   1950
      TabIndex        =   2
      Top             =   120
      Width           =   2010
   End
   Begin VB.PictureBox p3 
      Height          =   2010
      Left            =   120
      Picture         =   "rest.frx":2839B
      ScaleHeight     =   1950
      ScaleWidth      =   1950
      TabIndex        =   1
      Top             =   6120
      Width           =   2010
   End
   Begin VB.PictureBox p4 
      Height          =   2010
      Left            =   8400
      Picture         =   "rest.frx":29F71
      ScaleHeight     =   1950
      ScaleWidth      =   1950
      TabIndex        =   0
      Top             =   6120
      Width           =   2010
   End
   Begin VB.Image Rstop 
      Height          =   750
      Left            =   5760
      Picture         =   "rest.frx":2BAD3
      Top             =   7200
      Width           =   1650
   End
   Begin VB.Image Rgoon 
      Height          =   750
      Left            =   3120
      Picture         =   "rest.frx":30609
      Top             =   7200
      Width           =   1650
   End
End
Attribute VB_Name = "rest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Rgoon_Click()
welcome.MSComm1.Output = Chr$(&H1&)
rest.Hide
RunFlag = True
End Sub
Private Sub Rstop_Click()
welcome.MSComm1.Output = Chr$(&H2&)
rest.Hide
danger.Hide
safe.Hide
track.Hide
welcome.Show
RunFlag = False
End Sub
'下面的代码是所有均是实现按钮特效
Private Sub Rgoon_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rgoon.Picture = LoadPicture("e:\pic\rgmd.jpg")
End Sub

Private Sub Rgoon_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rgoon.Picture = LoadPicture("e:\pic\rgoon.jpg")
End Sub



Private Sub Rstop_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rstop.Picture = LoadPicture("e:\pic\rsmd.jpg")

End Sub

Private Sub Rstop_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Rstop.Picture = LoadPicture("e:\pic\rstop.jpg")
End Sub

⌨️ 快捷键说明

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