staryusilong.frm

来自「一套VB完整的灯具销售管理系统设计」· FRM 代码 · 共 230 行

FRM
230
字号
VERSION 5.00
Begin VB.Form StarYusilong 
   AutoRedraw      =   -1  'True
   BackColor       =   &H00000000&
   BorderStyle     =   3  'Fixed Dialog
   ClientHeight    =   3795
   ClientLeft      =   45
   ClientTop       =   45
   ClientWidth     =   5115
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3795
   ScaleWidth      =   5115
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.Timer Timer1 
      Interval        =   500
      Left            =   -405
      Top             =   2625
   End
   Begin VB.Frame Frame1 
      BackColor       =   &H00000000&
      Caption         =   "通迅"
      ForeColor       =   &H00FF00FF&
      Height          =   1125
      Left            =   150
      TabIndex        =   2
      Top             =   150
      Width           =   4770
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "0577-8323684 1295317112"
         ForeColor       =   &H00FFFF00&
         Height          =   180
         Index           =   0
         Left            =   1335
         TabIndex        =   6
         Top             =   420
         Width           =   2070
      End
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "电话:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000C000&
         Height          =   180
         Index           =   1
         Left            =   690
         TabIndex        =   5
         Top             =   405
         Width           =   510
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "上陡门4组团12幢409室"
         ForeColor       =   &H0080FFFF&
         Height          =   180
         Index           =   0
         Left            =   1290
         TabIndex        =   4
         Top             =   690
         Width           =   1800
      End
      Begin VB.Label Label2 
         AutoSize        =   -1  'True
         BackStyle       =   0  'Transparent
         Caption         =   "地址:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   9
            Charset         =   134
            Weight          =   700
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ForeColor       =   &H0000FF00&
         Height          =   180
         Index           =   1
         Left            =   690
         TabIndex        =   3
         Top             =   690
         Width           =   510
      End
   End
   Begin VB.Timer Timer2 
      Interval        =   1000
      Left            =   1155
      Top             =   3840
   End
   Begin VB.Label Label4 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "计算机崩溃!!!"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H0000FFFF&
      Height          =   285
      Left            =   375
      TabIndex        =   7
      Top             =   3285
      Width           =   2280
   End
   Begin VB.Shape Shape1 
      BorderStyle     =   0  'Transparent
      FillColor       =   &H000000FF&
      FillStyle       =   0  'Solid
      Height          =   1080
      Index           =   1
      Left            =   1725
      Shape           =   3  'Circle
      Top             =   1725
      Visible         =   0   'False
      Width           =   1695
   End
   Begin VB.Shape Shape1 
      BorderColor     =   &H00808080&
      BorderWidth     =   3
      FillColor       =   &H00800000&
      FillStyle       =   0  'Solid
      Height          =   1125
      Index           =   0
      Left            =   1500
      Shape           =   3  'Circle
      Top             =   1695
      Width           =   2115
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "快呼:作者(俞思龙)"
      ForeColor       =   &H0000FF00&
      Height          =   180
      Left            =   2925
      TabIndex        =   1
      Top             =   3330
      Width           =   2085
   End
   Begin VB.Label Yusilong 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "程序作者:俞思龙"
      ForeColor       =   &H000000FF&
      Height          =   180
      Left            =   3435
      TabIndex        =   0
      Top             =   -180
      Width           =   1440
   End
End
Attribute VB_Name = "StarYusilong"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim dis As Boolean, By As Integer

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Unload Me
End Sub

Private Sub Form_Load()
Yusilong.Left = 3405
Yusilong.Top = 3795
dis = False
End Sub


Private Sub run()
 If dis = True Then
   dis = False
   Shape1(1).Visible = False
   Else
   dis = True
    Shape1(1).Visible = True
  End If
End Sub

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Unload Me
End Sub

Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)
Unload Me
End Sub

Private Sub Label3_Click()
Unload Me
End Sub

Private Sub Label4_Click()
Unload Me
End Sub

Private Sub Timer1_Timer()
If dis = False Then
Label4.Visible = False
Else
Label4.Visible = True
End If
End Sub

Private Sub Timer2_Timer()
run
End Sub

⌨️ 快捷键说明

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