- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
Form1.Designer.cs
资源名称:socket.rar [点击查看]
上传用户:bjelec
上传日期:2015-05-18
资源大小:30k
文件大小:11k
源码类别:
网络编程
开发平台:
C#
- namespace server
- {
- partial class Form1
- {
- /// <summary>
- /// 必需的设计器变量。
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// 清理所有正在使用的资源。
- /// </summary>
- /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows 窗体设计器生成的代码
- /// <summary>
- /// 设计器支持所需的方法 - 不要
- /// 使用代码编辑器修改此方法的内容。
- /// </summary>
- private void InitializeComponent()
- {
- this.listBox1 = new System.Windows.Forms.ListBox();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
- this.button1 = new System.Windows.Forms.Button();
- this.button2 = new System.Windows.Forms.Button();
- this.button3 = new System.Windows.Forms.Button();
- this.toolStrip1 = new System.Windows.Forms.ToolStrip();
- this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
- this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
- this.panel1 = new System.Windows.Forms.Panel();
- this.textBox2 = new System.Windows.Forms.TextBox();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.button5 = new System.Windows.Forms.Button();
- this.button4 = new System.Windows.Forms.Button();
- this.label3 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
- this.toolStrip1.SuspendLayout();
- this.panel1.SuspendLayout();
- this.SuspendLayout();
- //
- // listBox1
- //
- this.listBox1.FormattingEnabled = true;
- this.listBox1.ItemHeight = 12;
- this.listBox1.Location = new System.Drawing.Point(0, 24);
- this.listBox1.Name = "listBox1";
- this.listBox1.Size = new System.Drawing.Size(293, 172);
- this.listBox1.TabIndex = 0;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(-2, 9);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(53, 12);
- this.label1.TabIndex = 1;
- this.label1.Text = "消息显示";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(-2, 214);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(53, 12);
- this.label2.TabIndex = 2;
- this.label2.Text = "消息发送";
- //
- // richTextBox1
- //
- this.richTextBox1.Location = new System.Drawing.Point(0, 238);
- this.richTextBox1.Name = "richTextBox1";
- this.richTextBox1.Size = new System.Drawing.Size(293, 96);
- this.richTextBox1.TabIndex = 3;
- this.richTextBox1.Text = "";
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(12, 340);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(75, 23);
- this.button1.TabIndex = 4;
- this.button1.Text = "等待连接";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(195, 340);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(75, 23);
- this.button2.TabIndex = 5;
- this.button2.Text = "发送";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click);
- //
- // button3
- //
- this.button3.Location = new System.Drawing.Point(170, 209);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(100, 23);
- this.button3.TabIndex = 6;
- this.button3.Text = "清除聊天记录";
- this.button3.UseVisualStyleBackColor = true;
- this.button3.Click += new System.EventHandler(this.button3_Click);
- //
- // toolStrip1
- //
- this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.toolStripLabel1,
- this.toolStripLabel2});
- this.toolStrip1.Location = new System.Drawing.Point(0, 363);
- this.toolStrip1.Name = "toolStrip1";
- this.toolStrip1.Size = new System.Drawing.Size(453, 25);
- this.toolStrip1.TabIndex = 7;
- this.toolStrip1.Text = "toolStrip1";
- //
- // toolStripLabel1
- //
- this.toolStripLabel1.Name = "toolStripLabel1";
- this.toolStripLabel1.Size = new System.Drawing.Size(0, 22);
- //
- // toolStripLabel2
- //
- this.toolStripLabel2.Name = "toolStripLabel2";
- this.toolStripLabel2.Size = new System.Drawing.Size(0, 22);
- //
- // panel1
- //
- this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel1.Controls.Add(this.textBox2);
- this.panel1.Controls.Add(this.textBox1);
- this.panel1.Controls.Add(this.button5);
- this.panel1.Controls.Add(this.button4);
- this.panel1.Controls.Add(this.label3);
- this.panel1.Controls.Add(this.label4);
- this.panel1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panel1.ForeColor = System.Drawing.SystemColors.ActiveCaption;
- this.panel1.Location = new System.Drawing.Point(299, 24);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(153, 312);
- this.panel1.TabIndex = 14;
- //
- // textBox2
- //
- this.textBox2.Location = new System.Drawing.Point(0, 158);
- this.textBox2.Multiline = true;
- this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(150, 111);
- this.textBox2.TabIndex = 15;
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(0, 24);
- this.textBox1.Multiline = true;
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(153, 94);
- this.textBox1.TabIndex = 14;
- //
- // button5
- //
- this.button5.Location = new System.Drawing.Point(75, 286);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(75, 23);
- this.button5.TabIndex = 13;
- this.button5.Text = "发送文件";
- this.button5.UseVisualStyleBackColor = true;
- this.button5.Click += new System.EventHandler(this.button5_Click);
- //
- // button4
- //
- this.button4.Location = new System.Drawing.Point(3, 286);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(75, 23);
- this.button4.TabIndex = 12;
- this.button4.Text = "打开文件";
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Click += new System.EventHandler(this.button4_Click);
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(3, 9);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(57, 12);
- this.label3.TabIndex = 10;
- this.label3.Text = "文件路径";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(3, 143);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(57, 12);
- this.label4.TabIndex = 11;
- this.label4.Text = "文件大小";
- //
- // openFileDialog1
- //
- this.openFileDialog1.FileName = "openFileDialog1";
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(453, 388);
- this.Controls.Add(this.panel1);
- this.Controls.Add(this.toolStrip1);
- this.Controls.Add(this.button3);
- this.Controls.Add(this.button2);
- this.Controls.Add(this.button1);
- this.Controls.Add(this.richTextBox1);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.listBox1);
- this.MaximizeBox = false;
- this.Name = "Form1";
- this.Text = "服务器端";
- this.toolStrip1.ResumeLayout(false);
- this.toolStrip1.PerformLayout();
- this.panel1.ResumeLayout(false);
- this.panel1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.ListBox listBox1;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.RichTextBox richTextBox1;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Button button2;
- private System.Windows.Forms.Button button3;
- private System.Windows.Forms.ToolStrip toolStrip1;
- private System.Windows.Forms.ToolStripLabel toolStripLabel1;
- private System.Windows.Forms.ToolStripLabel toolStripLabel2;
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.TextBox textBox2;
- private System.Windows.Forms.TextBox textBox1;
- private System.Windows.Forms.Button button5;
- private System.Windows.Forms.Button button4;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.OpenFileDialog openFileDialog1;
- }
- }