258 lines
11 KiB
C#
258 lines
11 KiB
C#
namespace qtc_net_client_2.Forms
|
|
{
|
|
partial class Profile
|
|
{
|
|
/// <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(Profile));
|
|
pbUserPfp = new PictureBox();
|
|
lblUsername = new Label();
|
|
rtxtBio = new RichTextBox();
|
|
btnAddContact = new Button();
|
|
btnAccept = new Button();
|
|
btnDecline = new Button();
|
|
btnCancelRequest = new Button();
|
|
btnMessage = new Button();
|
|
pbUserStatus = new PictureBox();
|
|
pbCurrencyIcon = new PictureBox();
|
|
lblCurrencyAmount = new Label();
|
|
flpUsernameCurrency = new FlowLayoutPanel();
|
|
panel1 = new Panel();
|
|
((System.ComponentModel.ISupportInitialize)pbUserPfp).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pbUserStatus).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).BeginInit();
|
|
flpUsernameCurrency.SuspendLayout();
|
|
panel1.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// pbUserPfp
|
|
//
|
|
pbUserPfp.BorderStyle = BorderStyle.FixedSingle;
|
|
pbUserPfp.Image = Properties.Resources.DefaultPfp;
|
|
pbUserPfp.Location = new Point(12, 12);
|
|
pbUserPfp.Name = "pbUserPfp";
|
|
pbUserPfp.Size = new Size(128, 126);
|
|
pbUserPfp.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pbUserPfp.TabIndex = 2;
|
|
pbUserPfp.TabStop = false;
|
|
//
|
|
// lblUsername
|
|
//
|
|
lblUsername.AutoSize = true;
|
|
lblUsername.Font = new Font("Segoe UI Light", 15F, FontStyle.Bold);
|
|
lblUsername.ForeColor = SystemColors.ControlLight;
|
|
lblUsername.Location = new Point(3, 0);
|
|
lblUsername.Name = "lblUsername";
|
|
lblUsername.Size = new Size(105, 28);
|
|
lblUsername.TabIndex = 3;
|
|
lblUsername.Text = "Username";
|
|
//
|
|
// rtxtBio
|
|
//
|
|
rtxtBio.Location = new Point(151, 42);
|
|
rtxtBio.Name = "rtxtBio";
|
|
rtxtBio.ReadOnly = true;
|
|
rtxtBio.Size = new Size(356, 96);
|
|
rtxtBio.TabIndex = 4;
|
|
rtxtBio.Text = "";
|
|
//
|
|
// btnAddContact
|
|
//
|
|
btnAddContact.BackColor = Color.DodgerBlue;
|
|
btnAddContact.FlatAppearance.BorderSize = 0;
|
|
btnAddContact.FlatStyle = FlatStyle.Flat;
|
|
btnAddContact.Image = Properties.Resources.AddContactIcon;
|
|
btnAddContact.Location = new Point(455, 4);
|
|
btnAddContact.Name = "btnAddContact";
|
|
btnAddContact.Size = new Size(59, 36);
|
|
btnAddContact.TabIndex = 5;
|
|
btnAddContact.UseVisualStyleBackColor = false;
|
|
btnAddContact.Visible = false;
|
|
//
|
|
// btnAccept
|
|
//
|
|
btnAccept.BackColor = Color.DodgerBlue;
|
|
btnAccept.FlatAppearance.BorderSize = 0;
|
|
btnAccept.FlatStyle = FlatStyle.Flat;
|
|
btnAccept.Image = Properties.Resources.AcceptContactIcon;
|
|
btnAccept.Location = new Point(404, 4);
|
|
btnAccept.Name = "btnAccept";
|
|
btnAccept.Size = new Size(54, 38);
|
|
btnAccept.TabIndex = 6;
|
|
btnAccept.UseVisualStyleBackColor = false;
|
|
btnAccept.Visible = false;
|
|
btnAccept.Click += btnAccept_Click;
|
|
//
|
|
// btnDecline
|
|
//
|
|
btnDecline.BackColor = Color.DodgerBlue;
|
|
btnDecline.FlatAppearance.BorderSize = 0;
|
|
btnDecline.FlatStyle = FlatStyle.Flat;
|
|
btnDecline.Image = Properties.Resources.DeclineContactIcon;
|
|
btnDecline.Location = new Point(455, 3);
|
|
btnDecline.Name = "btnDecline";
|
|
btnDecline.Size = new Size(52, 38);
|
|
btnDecline.TabIndex = 7;
|
|
btnDecline.UseVisualStyleBackColor = false;
|
|
btnDecline.Visible = false;
|
|
btnDecline.Click += btnDecline_Click;
|
|
//
|
|
// btnCancelRequest
|
|
//
|
|
btnCancelRequest.BackColor = Color.DodgerBlue;
|
|
btnCancelRequest.FlatAppearance.BorderSize = 0;
|
|
btnCancelRequest.FlatStyle = FlatStyle.Flat;
|
|
btnCancelRequest.Image = Properties.Resources.CancelRequestIcon;
|
|
btnCancelRequest.Location = new Point(400, 1);
|
|
btnCancelRequest.Name = "btnCancelRequest";
|
|
btnCancelRequest.Size = new Size(57, 42);
|
|
btnCancelRequest.TabIndex = 8;
|
|
btnCancelRequest.UseVisualStyleBackColor = false;
|
|
btnCancelRequest.Visible = false;
|
|
btnCancelRequest.Click += btnCancelRequest_Click;
|
|
//
|
|
// btnMessage
|
|
//
|
|
btnMessage.BackColor = Color.DodgerBlue;
|
|
btnMessage.FlatAppearance.BorderSize = 0;
|
|
btnMessage.FlatStyle = FlatStyle.Flat;
|
|
btnMessage.Image = Properties.Resources.MessageIcon;
|
|
btnMessage.Location = new Point(405, 1);
|
|
btnMessage.Name = "btnMessage";
|
|
btnMessage.Size = new Size(46, 42);
|
|
btnMessage.TabIndex = 9;
|
|
btnMessage.UseVisualStyleBackColor = false;
|
|
btnMessage.Visible = false;
|
|
btnMessage.Click += btnMessage_Click;
|
|
//
|
|
// pbUserStatus
|
|
//
|
|
pbUserStatus.BackColor = Color.Transparent;
|
|
pbUserStatus.Image = Properties.Resources.OfflineIcon;
|
|
pbUserStatus.Location = new Point(115, 1);
|
|
pbUserStatus.Name = "pbUserStatus";
|
|
pbUserStatus.Size = new Size(32, 32);
|
|
pbUserStatus.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pbUserStatus.TabIndex = 10;
|
|
pbUserStatus.TabStop = false;
|
|
//
|
|
// pbCurrencyIcon
|
|
//
|
|
pbCurrencyIcon.Image = Properties.Resources.CurrencyIcon;
|
|
pbCurrencyIcon.Location = new Point(5, 6);
|
|
pbCurrencyIcon.Name = "pbCurrencyIcon";
|
|
pbCurrencyIcon.Size = new Size(15, 14);
|
|
pbCurrencyIcon.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pbCurrencyIcon.TabIndex = 11;
|
|
pbCurrencyIcon.TabStop = false;
|
|
//
|
|
// lblCurrencyAmount
|
|
//
|
|
lblCurrencyAmount.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
lblCurrencyAmount.AutoSize = true;
|
|
lblCurrencyAmount.BackColor = Color.Transparent;
|
|
lblCurrencyAmount.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
|
|
lblCurrencyAmount.ForeColor = Color.White;
|
|
lblCurrencyAmount.Location = new Point(22, 6);
|
|
lblCurrencyAmount.Name = "lblCurrencyAmount";
|
|
lblCurrencyAmount.Size = new Size(14, 15);
|
|
lblCurrencyAmount.TabIndex = 12;
|
|
lblCurrencyAmount.Text = "0";
|
|
lblCurrencyAmount.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// flpUsernameCurrency
|
|
//
|
|
flpUsernameCurrency.BackColor = Color.Transparent;
|
|
flpUsernameCurrency.Controls.Add(lblUsername);
|
|
flpUsernameCurrency.Controls.Add(panel1);
|
|
flpUsernameCurrency.Location = new Point(152, 8);
|
|
flpUsernameCurrency.Name = "flpUsernameCurrency";
|
|
flpUsernameCurrency.Size = new Size(246, 33);
|
|
flpUsernameCurrency.TabIndex = 13;
|
|
flpUsernameCurrency.WrapContents = false;
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(pbCurrencyIcon);
|
|
panel1.Controls.Add(lblCurrencyAmount);
|
|
panel1.Location = new Point(114, 3);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(73, 24);
|
|
panel1.TabIndex = 14;
|
|
//
|
|
// Profile
|
|
//
|
|
AutoScaleDimensions = new SizeF(6F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.DodgerBlue;
|
|
ClientSize = new Size(519, 155);
|
|
Controls.Add(flpUsernameCurrency);
|
|
Controls.Add(btnAccept);
|
|
Controls.Add(btnDecline);
|
|
Controls.Add(btnCancelRequest);
|
|
Controls.Add(pbUserStatus);
|
|
Controls.Add(btnAddContact);
|
|
Controls.Add(rtxtBio);
|
|
Controls.Add(pbUserPfp);
|
|
Controls.Add(btnMessage);
|
|
Font = new Font("Segoe UI Light", 9F);
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "Profile";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "QtC.NET Client - User Profile";
|
|
FormClosed += Profile_FormClosed;
|
|
Load += frmProfile_Load;
|
|
((System.ComponentModel.ISupportInitialize)pbUserPfp).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pbUserStatus).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).EndInit();
|
|
flpUsernameCurrency.ResumeLayout(false);
|
|
flpUsernameCurrency.PerformLayout();
|
|
panel1.ResumeLayout(false);
|
|
panel1.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBox pbUserPfp;
|
|
private Label lblUsername;
|
|
private RichTextBox rtxtBio;
|
|
private Button btnAddContact;
|
|
private Button btnAccept;
|
|
private Button btnDecline;
|
|
private Button btnCancelRequest;
|
|
private Button btnMessage;
|
|
private PictureBox pbUserStatus;
|
|
private PictureBox pbCurrencyIcon;
|
|
private Label lblCurrencyAmount;
|
|
private FlowLayoutPanel flpUsernameCurrency;
|
|
private Panel panel1;
|
|
}
|
|
} |