185 lines
8.5 KiB
C#
185 lines
8.5 KiB
C#
namespace Project.Dialog
|
|
{
|
|
partial class fChat
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.txtChatDisplay = new System.Windows.Forms.TextBox();
|
|
this.txtInput = new System.Windows.Forms.TextBox();
|
|
this.btnSend = new System.Windows.Forms.Button();
|
|
this.lblStatus = new System.Windows.Forms.Label();
|
|
this.timerStatus = new System.Windows.Forms.Timer(this.components);
|
|
this.panelTop = new System.Windows.Forms.Panel();
|
|
this.panelBottom = new System.Windows.Forms.Panel();
|
|
this.lblRecipient = new System.Windows.Forms.Label();
|
|
this.cboRecipient = new System.Windows.Forms.ComboBox();
|
|
this.panelTop.SuspendLayout();
|
|
this.panelBottom.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtChatDisplay
|
|
//
|
|
this.txtChatDisplay.BackColor = System.Drawing.Color.White;
|
|
this.txtChatDisplay.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtChatDisplay.Font = new System.Drawing.Font("Consolas", 9F);
|
|
this.txtChatDisplay.Location = new System.Drawing.Point(0, 30);
|
|
this.txtChatDisplay.Multiline = true;
|
|
this.txtChatDisplay.Name = "txtChatDisplay";
|
|
this.txtChatDisplay.ReadOnly = true;
|
|
this.txtChatDisplay.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
this.txtChatDisplay.Size = new System.Drawing.Size(500, 340);
|
|
this.txtChatDisplay.TabIndex = 0;
|
|
//
|
|
// txtInput
|
|
//
|
|
this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtInput.Font = new System.Drawing.Font("Malgun Gothic", 9F);
|
|
this.txtInput.Location = new System.Drawing.Point(0, 0);
|
|
this.txtInput.Name = "txtInput";
|
|
this.txtInput.Size = new System.Drawing.Size(420, 23);
|
|
this.txtInput.TabIndex = 1;
|
|
this.txtInput.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtInput_KeyDown);
|
|
//
|
|
// btnSend
|
|
//
|
|
this.btnSend.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.btnSend.Location = new System.Drawing.Point(420, 0);
|
|
this.btnSend.Name = "btnSend";
|
|
this.btnSend.Size = new System.Drawing.Size(80, 30);
|
|
this.btnSend.TabIndex = 2;
|
|
this.btnSend.Text = "Send";
|
|
this.btnSend.UseVisualStyleBackColor = true;
|
|
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
|
|
//
|
|
// lblStatus
|
|
//
|
|
this.lblStatus.AutoSize = true;
|
|
this.lblStatus.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblStatus.Font = new System.Drawing.Font("Malgun Gothic", 9F, System.Drawing.FontStyle.Bold);
|
|
this.lblStatus.ForeColor = System.Drawing.Color.Green;
|
|
this.lblStatus.Location = new System.Drawing.Point(5, 5);
|
|
this.lblStatus.Name = "lblStatus";
|
|
this.lblStatus.Padding = new System.Windows.Forms.Padding(5);
|
|
this.lblStatus.Size = new System.Drawing.Size(83, 25);
|
|
this.lblStatus.TabIndex = 3;
|
|
this.lblStatus.Text = "Connected";
|
|
this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// timerStatus
|
|
//
|
|
this.timerStatus.Enabled = true;
|
|
this.timerStatus.Interval = 1000;
|
|
this.timerStatus.Tick += new System.EventHandler(this.timerStatus_Tick);
|
|
//
|
|
// lblRecipient
|
|
//
|
|
this.lblRecipient.AutoSize = true;
|
|
this.lblRecipient.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.lblRecipient.Font = new System.Drawing.Font("Malgun Gothic", 9F);
|
|
this.lblRecipient.Location = new System.Drawing.Point(5, 5);
|
|
this.lblRecipient.Name = "lblRecipient";
|
|
this.lblRecipient.Padding = new System.Windows.Forms.Padding(0, 5, 5, 0);
|
|
this.lblRecipient.Size = new System.Drawing.Size(45, 20);
|
|
this.lblRecipient.TabIndex = 5;
|
|
this.lblRecipient.Text = "To:";
|
|
this.lblRecipient.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// cboRecipient
|
|
//
|
|
this.cboRecipient.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.cboRecipient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cboRecipient.Font = new System.Drawing.Font("Malgun Gothic", 9F);
|
|
this.cboRecipient.FormattingEnabled = true;
|
|
this.cboRecipient.Location = new System.Drawing.Point(50, 5);
|
|
this.cboRecipient.Name = "cboRecipient";
|
|
this.cboRecipient.Size = new System.Drawing.Size(200, 23);
|
|
this.cboRecipient.TabIndex = 6;
|
|
//
|
|
// panelTop
|
|
//
|
|
this.panelTop.Controls.Add(this.cboRecipient);
|
|
this.panelTop.Controls.Add(this.lblRecipient);
|
|
this.panelTop.Controls.Add(this.lblStatus);
|
|
this.panelTop.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panelTop.Location = new System.Drawing.Point(0, 0);
|
|
this.panelTop.Name = "panelTop";
|
|
this.panelTop.Padding = new System.Windows.Forms.Padding(5);
|
|
this.panelTop.Size = new System.Drawing.Size(500, 30);
|
|
this.panelTop.TabIndex = 4;
|
|
//
|
|
// panelBottom
|
|
//
|
|
this.panelBottom.Controls.Add(this.txtInput);
|
|
this.panelBottom.Controls.Add(this.btnSend);
|
|
this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.panelBottom.Location = new System.Drawing.Point(0, 370);
|
|
this.panelBottom.Name = "panelBottom";
|
|
this.panelBottom.Size = new System.Drawing.Size(500, 30);
|
|
this.panelBottom.TabIndex = 5;
|
|
//
|
|
// fChat
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(500, 400);
|
|
this.Controls.Add(this.txtChatDisplay);
|
|
this.Controls.Add(this.panelBottom);
|
|
this.Controls.Add(this.panelTop);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable;
|
|
this.KeyPreview = true;
|
|
this.MaximizeBox = true;
|
|
this.MinimizeBox = true;
|
|
this.MinimumSize = new System.Drawing.Size(400, 300);
|
|
this.Name = "fChat";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Chat";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.fChat_FormClosing);
|
|
this.Load += new System.EventHandler(this.fChat_Load);
|
|
this.panelTop.ResumeLayout(false);
|
|
this.panelTop.PerformLayout();
|
|
this.panelBottom.ResumeLayout(false);
|
|
this.panelBottom.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtChatDisplay;
|
|
private System.Windows.Forms.TextBox txtInput;
|
|
private System.Windows.Forms.Button btnSend;
|
|
private System.Windows.Forms.Label lblStatus;
|
|
private System.Windows.Forms.Timer timerStatus;
|
|
private System.Windows.Forms.Panel panelTop;
|
|
private System.Windows.Forms.Panel panelBottom;
|
|
private System.Windows.Forms.Label lblRecipient;
|
|
private System.Windows.Forms.ComboBox cboRecipient;
|
|
}
|
|
}
|