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

📄 form1.frm

📁 交功課!!!老虎機........gogogo!!vb源碼!!自制
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtDegree 
      Height          =   495
      Left            =   2160
      TabIndex        =   2
      Text            =   "0"
      Top             =   720
      Width           =   1215
   End
   Begin VB.PictureBox picCloudCover 
      Height          =   1095
      Left            =   1080
      ScaleHeight     =   1035
      ScaleWidth      =   2355
      TabIndex        =   1
      Top             =   1560
      Width           =   2415
   End
   Begin VB.CommandButton cmdDegree 
      Caption         =   "Describe"
      Height          =   615
      Left            =   360
      TabIndex        =   0
      Top             =   600
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdDegree_Click()
    Dim dergee As Integer
    dergee = Val(txtDegree.Text)
        picCloudCover.Cls
    Select Case dergee
    Case 0 To 30:
        picCloudCover.Print "clear"
    Case 31 To 70:
        picCloudCover.Print "partly cloudy"
    Case 71 To 99:
        picCloudCover.Print "cloudy"
    Case 100:
        picCloudCover.Print "overcast"
    Case Else
        picCloudCover.Print "Percentage must be 0 and 100"
    
    End Select
End Sub

⌨️ 快捷键说明

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