Dialog.frm
资源名称:VBTest.rar [点击查看]
上传用户:hbj111
上传日期:2022-07-30
资源大小:107k
文件大小:2k
源码类别:
串口编程
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form dlgAddr
- BorderStyle = 3 'Fixed Dialog
- Caption = "指定IP地址及端口号"
- ClientHeight = 3195
- ClientLeft = 2760
- ClientTop = 3750
- ClientWidth = 6030
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3195
- ScaleWidth = 6030
- ShowInTaskbar = 0 'False
- Begin VB.TextBox txtPort
- Height = 375
- Left = 1440
- TabIndex = 5
- Top = 480
- Width = 2415
- End
- Begin VB.TextBox txtIP
- Height = 390
- Left = 1440
- TabIndex = 3
- Top = 0
- Width = 2415
- End
- Begin VB.CommandButton btnCancel
- Caption = "取消"
- Height = 375
- Left = 3120
- TabIndex = 1
- Top = 2520
- Width = 1215
- End
- Begin VB.CommandButton btnOK
- Caption = "确定"
- Height = 375
- Left = 840
- TabIndex = 0
- Top = 2520
- Width = 1215
- End
- Begin VB.Label Label2
- Caption = "端口号:"
- Height = 255
- Left = 600
- TabIndex = 4
- Top = 600
- Width = 735
- End
- Begin VB.Label Label1
- Caption = "IP地址:"
- Height = 255
- Left = 600
- TabIndex = 2
- Top = 120
- Width = 855
- End
- End
- Attribute VB_Name = "dlgAddr"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub btnCancel_Click()
- Me.Hide
- End Sub
- Private Sub btnOK_Click()
- Me.Hide
- Me.Tag = "1"
- End Sub
- Private Sub Form_Load()
- Me.Tag = "0"
- End Sub