form2.frm

来自「我学习vb时候用的课件」· FRM 代码 · 共 75 行

FRM
75
字号
VERSION 5.00
Begin VB.Form Form2 
   Caption         =   "Form2"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form2"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "Command2"
      Height          =   375
      Left            =   3240
      TabIndex        =   4
      Top             =   2280
      Width           =   735
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   495
      Left            =   1680
      TabIndex        =   3
      Top             =   2160
      Width           =   855
   End
   Begin VB.TextBox Text2 
      Height          =   615
      Left            =   1800
      TabIndex        =   1
      Text            =   "Text2"
      Top             =   0
      Width           =   855
   End
   Begin VB.TextBox Text1 
      Height          =   495
      Left            =   0
      TabIndex        =   0
      Text            =   "Text1"
      Top             =   0
      Width           =   855
   End
   Begin VB.Label Label1 
      Caption         =   "*"
      Height          =   495
      Left            =   1080
      TabIndex        =   2
      Top             =   0
      Width           =   615
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()


b = Text1.Text * Text2.Text
End Sub

Private Sub Command2_Click()
Form5.Show
End Sub

Private Sub Form_Activate()
MsgBox "ij"

End Sub

⌨️ 快捷键说明

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