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

📄 chrono.frm

📁 不错的一个VB菜单设计 界面和功能都不错
💻 FRM
字号:
VERSION 5.00
Object = "*\A..\SOURCE\FAST2007.vbp"
Begin VB.Form frmChrono 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Chrono"
   ClientHeight    =   1635
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4860
   Icon            =   "Chrono.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1635
   ScaleWidth      =   4860
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.TextBox txtTime 
      BackColor       =   &H8000000F&
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   9.75
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   3330
      Locked          =   -1  'True
      TabIndex        =   4
      Text            =   "0 ms"
      Top             =   1035
      Width           =   1365
   End
   Begin VB.CommandButton cmdElapsed 
      Caption         =   "&Time Elapsed..."
      Default         =   -1  'True
      Height          =   465
      Left            =   1800
      TabIndex        =   1
      Top             =   990
      Width           =   1410
   End
   Begin VB.CommandButton cmdReset 
      Caption         =   "&Reset"
      Height          =   465
      Left            =   180
      TabIndex        =   0
      Top             =   990
      Width           =   1410
   End
   Begin FLWMMedia.FWChronometer objChronometer 
      Left            =   4305
      Top             =   90
      _ExtentX        =   820
      _ExtentY        =   820
   End
   Begin VB.Label lblLabel 
      AutoSize        =   -1  'True
      Caption         =   "Label1"
      Height          =   195
      Index           =   1
      Left            =   270
      TabIndex        =   3
      Top             =   540
      Width           =   480
   End
   Begin VB.Label lblLabel 
      AutoSize        =   -1  'True
      Caption         =   "Label1"
      Height          =   195
      Index           =   0
      Left            =   270
      TabIndex        =   2
      Top             =   225
      Width           =   480
   End
End
Attribute VB_Name = "frmChrono"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdElapsed_Click()
  txtTime = objChronometer.Elapsed & " ms"
End Sub

Private Sub cmdReset_Click()
  Call objChronometer.Reset
  cmdElapsed.Enabled = True
End Sub

Private Sub Form_Load()
  lblLabel(0) = "Minimun resolution " & objChronometer.MinResolution
  lblLabel(1) = "Maximun resolution " & objChronometer.MaxResolution
End Sub

⌨️ 快捷键说明

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