?? form1.frm
字號:
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 6
Left = 7200
TabIndex = 97
Top = 2880
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 7200
TabIndex = 96
Top = 2520
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 7200
TabIndex = 95
Top = 2160
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 7200
TabIndex = 94
Top = 1800
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 7200
TabIndex = 93
Top = 1440
Width = 495
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 7200
TabIndex = 92
Top = 1080
Width = 495
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 7
Left = 5040
TabIndex = 91
Top = 3240
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 6
Left = 5040
TabIndex = 90
Top = 2880
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 5040
TabIndex = 89
Top = 2520
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 5040
TabIndex = 88
Top = 2160
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 5040
TabIndex = 87
Top = 1800
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 5040
TabIndex = 86
Top = 1440
Width = 1095
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 5040
TabIndex = 85
Top = 1080
Width = 1095
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 7
Left = 3120
TabIndex = 84
Top = 3240
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 6
Left = 3120
TabIndex = 83
Top = 2880
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 3120
TabIndex = 82
Top = 2520
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 3120
TabIndex = 81
Top = 2160
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 3
Left = 3120
TabIndex = 80
Top = 1800
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 3120
TabIndex = 79
Top = 1440
Width = 735
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 3120
TabIndex = 78
Top = 1080
Width = 735
End
Begin VB.Label Label3
Caption = "列表"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 7200
TabIndex = 21
Top = 720
Width = 495
End
Begin VB.Label Label2
Caption = "十六進制"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 5040
TabIndex = 3
Top = 720
Width = 1095
End
Begin VB.Label Label1
Caption = "二進制"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 0
Left = 3120
TabIndex = 2
Top = 720
Width = 735
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim i, h, a, b, c
Private Sub Command1_Click()
For i = 0 To 7
If Check1(i).Value = 1 Then
Text3(i).Text = 1
Else
Text3(i).Text = 0
End If
Next i
Text1(0).Text = Text3(0).Text + Text3(1).Text + Text3(2).Text + Text3(3).Text + Text3(4).Text + Text3(5).Text + Text3(6).Text + Text3(7).Text
h = Text3(0).Text + Text3(1).Text + Text3(2).Text + Text3(3).Text
Select Case h
Case "0000": h = "0"
Case "0001": h = "1"
Case "0010": h = "2"
Case "0011": h = "3"
Case "0100": h = "4"
Case "0101": h = "5"
Case "0110": h = "6"
Case "0111": h = "7"
Case "1000": h = "8"
Case "1001": h = "9"
Case "1010": h = "A"
Case "1011": h = "B"
Case "1100": h = "C"
Case "1101": h = "D"
Case "1110": h = "E"
Case "1111": h = "F"
End Select
m = Text3(4).Text + Text3(5).Text + Text3(6).Text + Text3(7).Text
Select Case m
Case "0000": m = "0"
Case "0001": m = "1"
Case "0010": m = "2"
Case "0011": m = "3"
Case "0100": m = "4"
Case "0101": m = "5"
Case "0110": m = "6"
Case "0111": m = "7"
Case "1000": m = "8"
Case "1001": m = "9"
Case "1010": m = "A"
Case "1011": m = "B"
Case "1100": m = "C"
Case "1101": m = "D"
Case "1110": m = "E"
Case "1111": m = "F"
End Select
Text2(0).Text = h + m
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -