📄 odd nos bw 2 nos.frm
字号:
VERSION 5.00
Begin VB.Form Form28
BackColor = &H00808080&
Caption = "Form28"
ClientHeight = 4845
ClientLeft = 60
ClientTop = 450
ClientWidth = 8565
BeginProperty Font
Name = "Comic Sans MS"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
HasDC = 0 'False
LinkTopic = "Form28"
ScaleHeight = 4845
ScaleWidth = 8565
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text2
BeginProperty Font
Name = "Monotype Corsiva"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 3600
TabIndex = 2
Top = 600
Width = 1815
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "Monotype Corsiva"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 1560
TabIndex = 1
Top = 600
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "DONE"
BeginProperty Font
Name = "Monotype Corsiva"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1095
Left = 2640
TabIndex = 0
Top = 1920
Width = 2175
End
End
Attribute VB_Name = "Form28"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Val(Text1) < Val(Text2) Then
A = Val(Text1)
B = Val(Text2)
Else
A = Val(Text2)
B = Val(Text1)
End If
D = 0
For C = A To B
If C Mod 2 = 1 Then
Print C
End If
Next C
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -