126 lines
4.6 KiB
C#
126 lines
4.6 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));
|
|
btnSend = new Button();
|
|
rtxtChatbox = new RichTextBox();
|
|
lblUsername = new Label();
|
|
pbPfp = new PictureBox();
|
|
lvChat = new ListView();
|
|
((System.ComponentModel.ISupportInitialize)pbPfp).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// 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(52, 0);
|
|
lblUsername.Margin = new Padding(4, 0, 4, 0);
|
|
lblUsername.Name = "lblUsername";
|
|
lblUsername.Size = new Size(181, 46);
|
|
lblUsername.TabIndex = 7;
|
|
lblUsername.Text = "Username";
|
|
//
|
|
// pbPfp
|
|
//
|
|
pbPfp.Image = Properties.Resources.DefaultPfp;
|
|
pbPfp.Location = new Point(14, 6);
|
|
pbPfp.Name = "pbPfp";
|
|
pbPfp.Size = new Size(40, 37);
|
|
pbPfp.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pbPfp.TabIndex = 9;
|
|
pbPfp.TabStop = false;
|
|
//
|
|
// lvChat
|
|
//
|
|
lvChat.Location = new Point(12, 48);
|
|
lvChat.Name = "lvChat";
|
|
lvChat.Size = new Size(593, 325);
|
|
lvChat.TabIndex = 10;
|
|
lvChat.UseCompatibleStateImageBehavior = false;
|
|
//
|
|
// DirectMessage
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.DodgerBlue;
|
|
ClientSize = new Size(618, 443);
|
|
Controls.Add(lvChat);
|
|
Controls.Add(pbPfp);
|
|
Controls.Add(lblUsername);
|
|
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;
|
|
((System.ComponentModel.ISupportInitialize)pbPfp).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
private Button btnSend;
|
|
private RichTextBox rtxtChatbox;
|
|
private Label lblUsername;
|
|
private PictureBox pbPfp;
|
|
private ListView lvChat;
|
|
}
|
|
} |