|
C#聊天程序(6) talkSplitter.Location = new Point(0, 192); talkSplitter.Size = new Size(506, 6); talkSplitter.TabIndex = 2; talkSplitter.TabStop = false; statusText.Dock = DockStyle.Bottom; statusText.Location = new Point(0, 377); statusText.Size = new Size(507, 15); statusText.TabIndex = 1; statusText.Text = "Status:"; sendText.Dock = DockStyle.Fill; sendText.Location = new Point(0, 198); sendText.Multiline = true; sendText.ScrollBars = ScrollBars.Both; sendText.Size = new Size(506, 173); sendText.TabIndex = 0; sendText.Text = ""; sendText.WordWrap = false; sendText.TextChanged += new EventHandler(HandleTextChange); sendText.Enabled = false; AutoScaleBaseSize = new Size(5, 13); ClientSize = new Size(507, 392); Controls.AddRange(new Control[] {statusText, talkPanel});
|