📄 代码生成窗口.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form 代码生成窗口
Caption = "代码生成窗口"
ClientHeight = 7305
ClientLeft = 60
ClientTop = 450
ClientWidth = 8295
Icon = "代码生成窗口.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form1"
ScaleHeight = 7305
ScaleWidth = 8295
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton 保存文件
Caption = "保存文件"
Height = 735
Left = 6840
Picture = "代码生成窗口.frx":0442
Style = 1 'Graphical
TabIndex = 3
Top = 5040
Width = 1215
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 7200
Top = 960
_ExtentX = 847
_ExtentY = 847
_Version = 393216
DefaultExt = "c"
Filter = "*.c"
End
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 6855
Left = 120
TabIndex = 1
Top = 240
Width = 6495
Begin VB.TextBox 代码显示框
Height = 6255
Left = 240
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Top = 360
Width = 6015
End
End
Begin VB.CommandButton 确定
Caption = " 确定"
Height = 735
Left = 6840
Picture = "代码生成窗口.frx":0884
Style = 1 'Graphical
TabIndex = 0
Top = 6240
Width = 1215
End
End
Attribute VB_Name = "代码生成窗口"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub 保存文件_Click()
On Error GoTo err
CommonDialog1.InitDir = CommonDialog1.InitDir
CommonDialog1.ShowSave
Open CommonDialog1.FileName For Append As #1
Print #1, 代码显示框.Text
Close #1
err:
End Sub
Private Sub 确定_Click()
代码生成窗口.Hide
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -