'I use Winsock Control SP5(VB6)
Public Class frmMain
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写处置以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意:以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents pelSaid As System.Windows.Forms.Panel
Friend WithEvents btnSend As System.Windows.Forms.Button
Friend WithEvents txtSaid As System.Windows.Forms.TextBox
Friend WithEvents txtChatLog As System.Windows.Forms.TextBox
Friend WithEvents sckClient As AxMSWinsockLib.AxWinsock
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmMain))
Me.pelSaid = New System.Windows.Forms.Panel()
Me.btnSend = New System.Windows.Forms.Button()
Me.txtSaid = New System.Windows.Forms.TextBox()
Me.txtChatLog = New System.Windows.Forms.TextBox()
Me.sckClient = New AxMSWinsockLib.AxWinsock()
Me.pelSaid.SuspendLayout()
CType(Me.sckClient, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'pelSaid
'
Me.pelSaid.Controls.AddRange(New System.Windows.Forms.Control() {Me.btnSend, Me.txtSaid})
Me.pelSaid.Dock = System.Windows.Forms.DockStyle.Bottom
Me.pelSaid.Location = New System.Drawing.Point(0, 332)
Me.pelSaid.Name = "pelSaid"
Me.pelSaid.Size = New System.Drawing.Size(392, 34)
&n