⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clientmain.designer.cs

📁 P2P服务器技术聊天代码 没有打洞技术 服务器记录了所有在线用户
💻 CS
字号:
namespace Client
{
    partial class ClientMain
    {
        /// <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.RecieveMsg = new System.Windows.Forms.TextBox();
            this.SendMsg = new System.Windows.Forms.TextBox();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.ServerIP = new System.Windows.Forms.TextBox();
            this.ServerPort = new System.Windows.Forms.TextBox();
            this.UserName = new System.Windows.Forms.TextBox();
            this.CmdEnter = new System.Windows.Forms.Button();
            this.CmdExit = new System.Windows.Forms.Button();
            this.CmdSend = new System.Windows.Forms.Button();
            this.label4 = new System.Windows.Forms.Label();
            this.SysMsg = new System.Windows.Forms.TextBox();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // RecieveMsg
            // 
            this.RecieveMsg.Location = new System.Drawing.Point(2, 3);
            this.RecieveMsg.Multiline = true;
            this.RecieveMsg.Name = "RecieveMsg";
            this.RecieveMsg.Size = new System.Drawing.Size(326, 155);
            this.RecieveMsg.TabIndex = 0;
            this.RecieveMsg.TextChanged += new System.EventHandler(this.RecieveMsg_TextChanged);
            // 
            // SendMsg
            // 
            this.SendMsg.Location = new System.Drawing.Point(2, 179);
            this.SendMsg.Multiline = true;
            this.SendMsg.Name = "SendMsg";
            this.SendMsg.Size = new System.Drawing.Size(326, 92);
            this.SendMsg.TabIndex = 1;
            this.SendMsg.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SendMsg_KeyDown);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.CmdExit);
            this.groupBox1.Controls.Add(this.CmdEnter);
            this.groupBox1.Controls.Add(this.UserName);
            this.groupBox1.Controls.Add(this.ServerPort);
            this.groupBox1.Controls.Add(this.ServerIP);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Location = new System.Drawing.Point(334, 3);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(184, 155);
            this.groupBox1.TabIndex = 2;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "登录信息";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(7, 21);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 0;
            this.label1.Text = "服务器IP:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(19, 53);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(53, 12);
            this.label2.TabIndex = 1;
            this.label2.Text = "端口号:";
            // 
            // label3
            // 
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(7, 80);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(65, 12);
            this.label3.TabIndex = 2;
            this.label3.Text = "您的昵称:";
            // 
            // ServerIP
            // 
            this.ServerIP.Location = new System.Drawing.Point(74, 17);
            this.ServerIP.Name = "ServerIP";
            this.ServerIP.Size = new System.Drawing.Size(100, 21);
            this.ServerIP.TabIndex = 3;
            this.ServerIP.Text = "127.0.0.1";
            // 
            // ServerPort
            // 
            this.ServerPort.Location = new System.Drawing.Point(74, 47);
            this.ServerPort.Name = "ServerPort";
            this.ServerPort.Size = new System.Drawing.Size(50, 21);
            this.ServerPort.TabIndex = 4;
            this.ServerPort.Text = "6600";
            // 
            // UserName
            // 
            this.UserName.Location = new System.Drawing.Point(74, 77);
            this.UserName.Name = "UserName";
            this.UserName.Size = new System.Drawing.Size(78, 21);
            this.UserName.TabIndex = 5;
            // 
            // CmdEnter
            // 
            this.CmdEnter.Location = new System.Drawing.Point(9, 117);
            this.CmdEnter.Name = "CmdEnter";
            this.CmdEnter.Size = new System.Drawing.Size(75, 23);
            this.CmdEnter.TabIndex = 6;
            this.CmdEnter.Text = "连接服务器";
            this.CmdEnter.UseVisualStyleBackColor = true;
            this.CmdEnter.Click += new System.EventHandler(this.CmdEnter_Click);
            // 
            // CmdExit
            // 
            this.CmdExit.Location = new System.Drawing.Point(99, 117);
            this.CmdExit.Name = "CmdExit";
            this.CmdExit.Size = new System.Drawing.Size(75, 23);
            this.CmdExit.TabIndex = 7;
            this.CmdExit.Text = "退出服务器";
            this.CmdExit.UseVisualStyleBackColor = true;
            this.CmdExit.Click += new System.EventHandler(this.CmdExit_Click);
            // 
            // CmdSend
            // 
            this.CmdSend.Location = new System.Drawing.Point(253, 277);
            this.CmdSend.Name = "CmdSend";
            this.CmdSend.Size = new System.Drawing.Size(75, 23);
            this.CmdSend.TabIndex = 3;
            this.CmdSend.Text = "发送消息";
            this.CmdSend.UseVisualStyleBackColor = true;
            this.CmdSend.Click += new System.EventHandler(this.CmdSend_Click);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.ForeColor = System.Drawing.SystemColors.ControlDark;
            this.label4.Location = new System.Drawing.Point(116, 286);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(131, 12);
            this.label4.TabIndex = 4;
            this.label4.Text = "Ctrl+Enter 可直接发送";
            // 
            // SysMsg
            // 
            this.SysMsg.Enabled = false;
            this.SysMsg.Location = new System.Drawing.Point(334, 164);
            this.SysMsg.Multiline = true;
            this.SysMsg.Name = "SysMsg";
            this.SysMsg.Size = new System.Drawing.Size(184, 136);
            this.SysMsg.TabIndex = 5;
            // 
            // ClientMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(520, 309);
            this.Controls.Add(this.SysMsg);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.CmdSend);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.SendMsg);
            this.Controls.Add(this.RecieveMsg);
            this.MaximizeBox = false;
            this.Name = "ClientMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "客户端程序";
            this.Load += new System.EventHandler(this.ClientMain_Load);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.TextBox RecieveMsg;
        private System.Windows.Forms.TextBox SendMsg;
        private System.Windows.Forms.GroupBox groupBox1;
        private System.Windows.Forms.Button CmdExit;
        private System.Windows.Forms.Button CmdEnter;
        private System.Windows.Forms.TextBox UserName;
        private System.Windows.Forms.TextBox ServerPort;
        private System.Windows.Forms.TextBox ServerIP;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Button CmdSend;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.TextBox SysMsg;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -