115 lines
4.2 KiB
C#
115 lines
4.2 KiB
C#
namespace qtc_net_client_2.Forms
|
|
{
|
|
partial class DirectMessage
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DirectMessage));
|
|
rtxtChat = new RichTextBox();
|
|
btnSend = new Button();
|
|
rtxtChatbox = new RichTextBox();
|
|
lblUsername = new Label();
|
|
SuspendLayout();
|
|
//
|
|
// rtxtChat
|
|
//
|
|
rtxtChat.Location = new Point(12, 56);
|
|
rtxtChat.Margin = new Padding(4, 3, 4, 3);
|
|
rtxtChat.Name = "rtxtChat";
|
|
rtxtChat.ReadOnly = true;
|
|
rtxtChat.Size = new Size(593, 317);
|
|
rtxtChat.TabIndex = 6;
|
|
rtxtChat.Text = "";
|
|
rtxtChat.TextChanged += rtxtChat_TextChanged;
|
|
//
|
|
// btnSend
|
|
//
|
|
btnSend.FlatAppearance.BorderSize = 0;
|
|
btnSend.FlatStyle = FlatStyle.Flat;
|
|
btnSend.ForeColor = Color.Black;
|
|
btnSend.Image = Properties.Resources.SendIcon;
|
|
btnSend.Location = new Point(530, 379);
|
|
btnSend.Margin = new Padding(4, 3, 4, 3);
|
|
btnSend.Name = "btnSend";
|
|
btnSend.Size = new Size(75, 54);
|
|
btnSend.TabIndex = 5;
|
|
btnSend.UseVisualStyleBackColor = true;
|
|
btnSend.Click += btnSend_Click;
|
|
//
|
|
// rtxtChatbox
|
|
//
|
|
rtxtChatbox.Location = new Point(12, 379);
|
|
rtxtChatbox.Margin = new Padding(4, 3, 4, 3);
|
|
rtxtChatbox.Name = "rtxtChatbox";
|
|
rtxtChatbox.Size = new Size(511, 54);
|
|
rtxtChatbox.TabIndex = 4;
|
|
rtxtChatbox.Text = "";
|
|
rtxtChatbox.KeyDown += rtxtChatbox_KeyPress;
|
|
//
|
|
// lblUsername
|
|
//
|
|
lblUsername.AutoSize = true;
|
|
lblUsername.Font = new Font("Segoe UI", 25F, FontStyle.Bold | FontStyle.Italic);
|
|
lblUsername.Location = new Point(6, 7);
|
|
lblUsername.Margin = new Padding(4, 0, 4, 0);
|
|
lblUsername.Name = "lblUsername";
|
|
lblUsername.Size = new Size(181, 46);
|
|
lblUsername.TabIndex = 7;
|
|
lblUsername.Text = "Username";
|
|
//
|
|
// DirectMessage
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.DodgerBlue;
|
|
ClientSize = new Size(618, 450);
|
|
Controls.Add(lblUsername);
|
|
Controls.Add(rtxtChat);
|
|
Controls.Add(btnSend);
|
|
Controls.Add(rtxtChatbox);
|
|
Font = new Font("Segoe UI", 9F);
|
|
ForeColor = Color.White;
|
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
MaximizeBox = false;
|
|
Name = "DirectMessage";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "QtC.NET Client - Direct Message With ${USER}";
|
|
Load += frmDirectMessage_Load;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private RichTextBox rtxtChat;
|
|
private Button btnSend;
|
|
private RichTextBox rtxtChatbox;
|
|
private Label lblUsername;
|
|
}
|
|
} |