📄 formselectandsend.frm
字号:
VERSION 5.00
Begin VB.Form FormSelectAndSend
AutoRedraw = -1 'True
BackColor = &H80000005&
BorderStyle = 3 'Fixed Dialog
Caption = "Dest"
ClientHeight = 2880
ClientLeft = 45
ClientTop = 330
ClientWidth = 4335
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2880
ScaleWidth = 4335
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000001&
BorderStyle = 0 'None
FillStyle = 0 'Solid
FontTransparent = 0 'False
ForeColor = &H80000008&
Height = 735
Left = 2040
ScaleHeight = 735
ScaleWidth = 3375
TabIndex = 5
Top = 0
Width = 3375
End
Begin VB.OptionButton Option1
BackColor = &H80000005&
BeginProperty Font
Name = "MS Sans Serif"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 0
Left = 600
TabIndex = 2
Top = 1080
Visible = 0 'False
Width = 495
End
Begin VB.CommandButton PrevButton
Caption = "上一步(&P)<<"
Enabled = 0 'False
Height = 495
Left = 1680
TabIndex = 1
Top = 2280
Width = 1215
End
Begin VB.CommandButton NextButton
Caption = "下一步(&N)>>"
Default = -1 'True
Height = 495
Left = 2880
TabIndex = 0
Top = 2280
Width = 1215
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "用户选择"
BeginProperty Font
Name = "华文新魏"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 375
Left = 120
TabIndex = 6
Top = 240
Width = 1335
End
Begin VB.Label Label3
Alignment = 2 'Center
BackColor = &H80000001&
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 0
TabIndex = 7
Top = 0
Width = 2055
End
Begin VB.Label Label1
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 1 'Fixed Single
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 495
Index = 0
Left = 1560
TabIndex = 4
Top = 1080
Visible = 0 'False
Width = 2175
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H80000005&
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Left = 120
TabIndex = 3
Top = 1080
Width = 75
End
End
Attribute VB_Name = "FormSelectAndSend"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public pnode As IXMLDOMNode
Private Sub Form_Load()
PrevButton.Enabled = True
If (RecordIndex = 0) Then
PrevButton.Enabled = False
End If
flag = 0
End Sub
Private Sub NextButton_Click()
ShowText
RecordIndex = RecordIndex + 1
user_information_code = user_information_code + 1
Unload Me
End Sub
Private Sub Option1_Click(Index As Integer)
Dim i As Integer
flag = Index
savequeue(RecordIndex, 4) = Label1(Index)
For i = 0 To pnode.attributes.length - 1
If pnode.attributes(i).nodeName = "value" Then
pnode.attributes(i).nodeValue = Label1(Index)
Exit For
End If
Next
End Sub
Private Sub PrevButton_Click()
If (RecordIndex > 0) Then
RecordIndex = RecordIndex - 1
End If
Unload Me
End Sub
Private Sub ShowText()
Dim item As ListItem
Set item = frmOutput.LVoutput.ListItems.Add(, , "用户信息", 3, 3)
item.SubItems(1) = savequeue(RecordIndex, 4)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -