AlanMoonbase eac4631e12 Implemented First Currency Game - Stock Market
Reworked `GatewayService` To Use New Hub Command Set
Implemented User Directory
Changed Icon On Users Online Tab
2025-06-26 16:14:44 -07:00

498 lines
21 KiB
C#

namespace qtc_net_client_2
{
partial class Main
{
/// <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()
{
components = new System.ComponentModel.Container();
ListViewItem listViewItem1 = new ListViewItem("Stock Market", 0);
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
tbcMain = new TabControl();
tbpContacts = new TabPage();
lvContacts = new ListView();
ilProfilePics = new ImageList(components);
tbpRooms = new TabPage();
btnAddRoom = new Button();
lbRooms = new ListBox();
tbpOnlineUsers = new TabPage();
lbOnlineUsers = new ListBox();
tbpUserDirectory = new TabPage();
lbUserDirectory = new ListBox();
tbpGames = new TabPage();
lvGames = new ListView();
ilGames = new ImageList(components);
ilTabIcons = new ImageList(components);
ctxmChangeStatus = new ContextMenuStrip(components);
onlineToolStripMenuItem = new ToolStripMenuItem();
awayToolStripMenuItem = new ToolStripMenuItem();
doNotDisturbToolStripMenuItem = new ToolStripMenuItem();
invisibleToolStripMenuItem = new ToolStripMenuItem();
lblRequestNotif = new Label();
niMain = new NotifyIcon(components);
llblClaimSpin = new LinkLabel();
pCurrencyArea = new Panel();
pbCurrencyIcon = new PictureBox();
lblCurrencyAmount = new Label();
pCurrentUser = new Panel();
llblEditProfile = new LinkLabel();
llblSignOut = new LinkLabel();
llblSignIn = new LinkLabel();
lblWelcome = new Label();
pbUserPfp = new PictureBox();
tbcMain.SuspendLayout();
tbpContacts.SuspendLayout();
tbpRooms.SuspendLayout();
tbpOnlineUsers.SuspendLayout();
tbpUserDirectory.SuspendLayout();
tbpGames.SuspendLayout();
ctxmChangeStatus.SuspendLayout();
pCurrencyArea.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).BeginInit();
pCurrentUser.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pbUserPfp).BeginInit();
SuspendLayout();
//
// tbcMain
//
tbcMain.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
tbcMain.Controls.Add(tbpContacts);
tbcMain.Controls.Add(tbpRooms);
tbcMain.Controls.Add(tbpOnlineUsers);
tbcMain.Controls.Add(tbpUserDirectory);
tbcMain.Controls.Add(tbpGames);
tbcMain.Enabled = false;
tbcMain.ImageList = ilTabIcons;
tbcMain.Location = new Point(12, 66);
tbcMain.Name = "tbcMain";
tbcMain.SelectedIndex = 0;
tbcMain.Size = new Size(439, 535);
tbcMain.TabIndex = 0;
//
// tbpContacts
//
tbpContacts.Controls.Add(lvContacts);
tbpContacts.ImageKey = "ContactsIcon.png";
tbpContacts.Location = new Point(4, 24);
tbpContacts.Name = "tbpContacts";
tbpContacts.Padding = new Padding(3);
tbpContacts.Size = new Size(431, 507);
tbpContacts.TabIndex = 0;
tbpContacts.Text = "Contacts";
tbpContacts.UseVisualStyleBackColor = true;
//
// lvContacts
//
lvContacts.Anchor = AnchorStyles.Left | AnchorStyles.Right;
lvContacts.LargeImageList = ilProfilePics;
lvContacts.Location = new Point(0, 0);
lvContacts.MultiSelect = false;
lvContacts.Name = "lvContacts";
lvContacts.Size = new Size(431, 514);
lvContacts.SmallImageList = ilProfilePics;
lvContacts.TabIndex = 1;
lvContacts.UseCompatibleStateImageBehavior = false;
lvContacts.View = View.SmallIcon;
lvContacts.DoubleClick += lvContacts_DoubleClick;
//
// ilProfilePics
//
ilProfilePics.ColorDepth = ColorDepth.Depth32Bit;
ilProfilePics.ImageSize = new Size(32, 32);
ilProfilePics.TransparentColor = Color.Transparent;
//
// tbpRooms
//
tbpRooms.Controls.Add(btnAddRoom);
tbpRooms.Controls.Add(lbRooms);
tbpRooms.ImageKey = "RoomsChatIcon.png";
tbpRooms.Location = new Point(4, 24);
tbpRooms.Name = "tbpRooms";
tbpRooms.Padding = new Padding(3);
tbpRooms.Size = new Size(431, 507);
tbpRooms.TabIndex = 1;
tbpRooms.Text = "Rooms";
tbpRooms.UseVisualStyleBackColor = true;
//
// btnAddRoom
//
btnAddRoom.FlatAppearance.BorderSize = 0;
btnAddRoom.FlatStyle = FlatStyle.Flat;
btnAddRoom.Location = new Point(342, 485);
btnAddRoom.Name = "btnAddRoom";
btnAddRoom.Size = new Size(20, 22);
btnAddRoom.TabIndex = 7;
btnAddRoom.UseVisualStyleBackColor = true;
btnAddRoom.Click += btnAddRoom_Click;
//
// lbRooms
//
lbRooms.Anchor = AnchorStyles.Left | AnchorStyles.Right;
lbRooms.FormattingEnabled = true;
lbRooms.ItemHeight = 15;
lbRooms.Location = new Point(0, 0);
lbRooms.Name = "lbRooms";
lbRooms.Size = new Size(431, 514);
lbRooms.TabIndex = 0;
lbRooms.DoubleClick += lbRooms_DoubleClick;
//
// tbpOnlineUsers
//
tbpOnlineUsers.Controls.Add(lbOnlineUsers);
tbpOnlineUsers.ImageIndex = 1;
tbpOnlineUsers.Location = new Point(4, 24);
tbpOnlineUsers.Name = "tbpOnlineUsers";
tbpOnlineUsers.Padding = new Padding(3);
tbpOnlineUsers.Size = new Size(431, 507);
tbpOnlineUsers.TabIndex = 2;
tbpOnlineUsers.Text = "Online Users";
tbpOnlineUsers.UseVisualStyleBackColor = true;
//
// lbOnlineUsers
//
lbOnlineUsers.Anchor = AnchorStyles.Left | AnchorStyles.Right;
lbOnlineUsers.FormattingEnabled = true;
lbOnlineUsers.ItemHeight = 15;
lbOnlineUsers.Location = new Point(0, 0);
lbOnlineUsers.Name = "lbOnlineUsers";
lbOnlineUsers.Size = new Size(431, 514);
lbOnlineUsers.TabIndex = 0;
lbOnlineUsers.DoubleClick += lbOnlineUsers_DoubleClick;
//
// tbpUserDirectory
//
tbpUserDirectory.Controls.Add(lbUserDirectory);
tbpUserDirectory.ImageIndex = 1;
tbpUserDirectory.Location = new Point(4, 24);
tbpUserDirectory.Name = "tbpUserDirectory";
tbpUserDirectory.Size = new Size(431, 507);
tbpUserDirectory.TabIndex = 3;
tbpUserDirectory.Text = "User Directory";
tbpUserDirectory.UseVisualStyleBackColor = true;
//
// lbUserDirectory
//
lbUserDirectory.Anchor = AnchorStyles.Left | AnchorStyles.Right;
lbUserDirectory.FormattingEnabled = true;
lbUserDirectory.ItemHeight = 15;
lbUserDirectory.Location = new Point(0, 0);
lbUserDirectory.Name = "lbUserDirectory";
lbUserDirectory.Size = new Size(431, 514);
lbUserDirectory.TabIndex = 1;
lbUserDirectory.DoubleClick += lbUserDirectory_DoubleClick;
//
// tbpGames
//
tbpGames.Controls.Add(lvGames);
tbpGames.ImageIndex = 3;
tbpGames.Location = new Point(4, 24);
tbpGames.Name = "tbpGames";
tbpGames.Size = new Size(431, 507);
tbpGames.TabIndex = 4;
tbpGames.Text = "Games";
tbpGames.UseVisualStyleBackColor = true;
//
// lvGames
//
lvGames.Anchor = AnchorStyles.Left | AnchorStyles.Right;
listViewItem1.Tag = "StockMarketGame";
lvGames.Items.AddRange(new ListViewItem[] { listViewItem1 });
lvGames.LargeImageList = ilGames;
lvGames.Location = new Point(0, 0);
lvGames.MultiSelect = false;
lvGames.Name = "lvGames";
lvGames.Size = new Size(431, 514);
lvGames.SmallImageList = ilGames;
lvGames.TabIndex = 2;
lvGames.UseCompatibleStateImageBehavior = false;
lvGames.DoubleClick += lvGames_DoubleClick;
//
// ilGames
//
ilGames.ColorDepth = ColorDepth.Depth32Bit;
ilGames.ImageStream = (ImageListStreamer)resources.GetObject("ilGames.ImageStream");
ilGames.TransparentColor = Color.Transparent;
ilGames.Images.SetKeyName(0, "dollar-money.gif");
//
// ilTabIcons
//
ilTabIcons.ColorDepth = ColorDepth.Depth32Bit;
ilTabIcons.ImageStream = (ImageListStreamer)resources.GetObject("ilTabIcons.ImageStream");
ilTabIcons.TransparentColor = Color.Transparent;
ilTabIcons.Images.SetKeyName(0, "ContactsIcon.png");
ilTabIcons.Images.SetKeyName(1, "UserIcon.png");
ilTabIcons.Images.SetKeyName(2, "RoomsChatIcon.png");
ilTabIcons.Images.SetKeyName(3, "CurrencyIcon.png");
//
// ctxmChangeStatus
//
ctxmChangeStatus.Items.AddRange(new ToolStripItem[] { onlineToolStripMenuItem, awayToolStripMenuItem, doNotDisturbToolStripMenuItem, invisibleToolStripMenuItem });
ctxmChangeStatus.Name = "ctxmChangeStatus";
ctxmChangeStatus.Size = new Size(154, 92);
ctxmChangeStatus.ItemClicked += ctxmChangeStatus_ItemClicked;
//
// onlineToolStripMenuItem
//
onlineToolStripMenuItem.Image = Properties.Resources.OnlineIcon;
onlineToolStripMenuItem.Name = "onlineToolStripMenuItem";
onlineToolStripMenuItem.Size = new Size(153, 22);
onlineToolStripMenuItem.Text = "Online";
//
// awayToolStripMenuItem
//
awayToolStripMenuItem.Image = Properties.Resources.AwayIcon;
awayToolStripMenuItem.Name = "awayToolStripMenuItem";
awayToolStripMenuItem.Size = new Size(153, 22);
awayToolStripMenuItem.Text = "Away";
//
// doNotDisturbToolStripMenuItem
//
doNotDisturbToolStripMenuItem.Image = Properties.Resources.DNDIcon;
doNotDisturbToolStripMenuItem.Name = "doNotDisturbToolStripMenuItem";
doNotDisturbToolStripMenuItem.Size = new Size(153, 22);
doNotDisturbToolStripMenuItem.Text = "Do Not Disturb";
//
// invisibleToolStripMenuItem
//
invisibleToolStripMenuItem.Image = Properties.Resources.OfflineIcon;
invisibleToolStripMenuItem.Name = "invisibleToolStripMenuItem";
invisibleToolStripMenuItem.Size = new Size(153, 22);
invisibleToolStripMenuItem.Text = "Invisible";
//
// lblRequestNotif
//
lblRequestNotif.Anchor = AnchorStyles.Top | AnchorStyles.Right;
lblRequestNotif.AutoSize = true;
lblRequestNotif.Font = new Font("Segoe UI", 7F, FontStyle.Bold);
lblRequestNotif.Location = new Point(309, 54);
lblRequestNotif.Name = "lblRequestNotif";
lblRequestNotif.Size = new Size(138, 12);
lblRequestNotif.TabIndex = 6;
lblRequestNotif.Text = "You Have Contacts Requests!";
lblRequestNotif.Visible = false;
//
// niMain
//
niMain.Icon = (Icon)resources.GetObject("niMain.Icon");
niMain.Text = "QtC.NET Client";
niMain.DoubleClick += niMain_DoubleClick;
//
// llblClaimSpin
//
llblClaimSpin.AutoSize = true;
llblClaimSpin.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
llblClaimSpin.Location = new Point(12, 24);
llblClaimSpin.Name = "llblClaimSpin";
llblClaimSpin.Size = new Size(94, 15);
llblClaimSpin.TabIndex = 11;
llblClaimSpin.TabStop = true;
llblClaimSpin.Text = "Claim Daily Spin";
llblClaimSpin.Visible = false;
llblClaimSpin.LinkClicked += llblClaimSpin_LinkClicked;
//
// pCurrencyArea
//
pCurrencyArea.Anchor = AnchorStyles.Top | AnchorStyles.Right;
pCurrencyArea.BorderStyle = BorderStyle.FixedSingle;
pCurrencyArea.Controls.Add(llblClaimSpin);
pCurrencyArea.Controls.Add(pbCurrencyIcon);
pCurrencyArea.Controls.Add(lblCurrencyAmount);
pCurrencyArea.Location = new Point(336, 5);
pCurrencyArea.Name = "pCurrencyArea";
pCurrencyArea.Size = new Size(116, 46);
pCurrencyArea.TabIndex = 12;
//
// pbCurrencyIcon
//
pbCurrencyIcon.Image = Properties.Resources.CurrencyIcon;
pbCurrencyIcon.Location = new Point(33, 6);
pbCurrencyIcon.Name = "pbCurrencyIcon";
pbCurrencyIcon.Size = new Size(15, 14);
pbCurrencyIcon.SizeMode = PictureBoxSizeMode.StretchImage;
pbCurrencyIcon.TabIndex = 18;
pbCurrencyIcon.TabStop = false;
pbCurrencyIcon.Visible = false;
//
// lblCurrencyAmount
//
lblCurrencyAmount.BackColor = Color.Transparent;
lblCurrencyAmount.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
lblCurrencyAmount.ForeColor = Color.White;
lblCurrencyAmount.Location = new Point(48, 3);
lblCurrencyAmount.Name = "lblCurrencyAmount";
lblCurrencyAmount.Size = new Size(69, 20);
lblCurrencyAmount.TabIndex = 19;
lblCurrencyAmount.Text = "99999";
lblCurrencyAmount.TextAlign = ContentAlignment.MiddleLeft;
lblCurrencyAmount.Visible = false;
//
// pCurrentUser
//
pCurrentUser.BorderStyle = BorderStyle.FixedSingle;
pCurrentUser.Controls.Add(llblEditProfile);
pCurrentUser.Controls.Add(llblSignOut);
pCurrentUser.Controls.Add(llblSignIn);
pCurrentUser.Controls.Add(lblWelcome);
pCurrentUser.Controls.Add(pbUserPfp);
pCurrentUser.Location = new Point(5, 4);
pCurrentUser.Name = "pCurrentUser";
pCurrentUser.Size = new Size(298, 59);
pCurrentUser.TabIndex = 13;
//
// llblEditProfile
//
llblEditProfile.AutoSize = true;
llblEditProfile.Font = new Font("Segoe UI Light", 9F);
llblEditProfile.LinkColor = Color.White;
llblEditProfile.Location = new Point(104, 29);
llblEditProfile.Name = "llblEditProfile";
llblEditProfile.Size = new Size(60, 15);
llblEditProfile.TabIndex = 10;
llblEditProfile.TabStop = true;
llblEditProfile.Text = "Edit Profile";
llblEditProfile.Visible = false;
//
// llblSignOut
//
llblSignOut.AutoSize = true;
llblSignOut.Font = new Font("Segoe UI Light", 9F);
llblSignOut.LinkColor = Color.White;
llblSignOut.Location = new Point(56, 29);
llblSignOut.Name = "llblSignOut";
llblSignOut.Size = new Size(50, 15);
llblSignOut.TabIndex = 9;
llblSignOut.TabStop = true;
llblSignOut.Text = "Sign Out";
llblSignOut.Visible = false;
//
// llblSignIn
//
llblSignIn.AutoSize = true;
llblSignIn.Font = new Font("Segoe UI Light", 9F);
llblSignIn.LinkColor = Color.White;
llblSignIn.Location = new Point(109, 11);
llblSignIn.Name = "llblSignIn";
llblSignIn.Size = new Size(40, 15);
llblSignIn.TabIndex = 8;
llblSignIn.TabStop = true;
llblSignIn.Text = "Sign In";
//
// lblWelcome
//
lblWelcome.AutoSize = true;
lblWelcome.Font = new Font("Segoe UI Light", 9F);
lblWelcome.ForeColor = SystemColors.ControlLightLight;
lblWelcome.Location = new Point(56, 11);
lblWelcome.Name = "lblWelcome";
lblWelcome.Size = new Size(60, 15);
lblWelcome.TabIndex = 7;
lblWelcome.Text = "Welcome, ";
//
// pbUserPfp
//
pbUserPfp.BorderStyle = BorderStyle.FixedSingle;
pbUserPfp.ContextMenuStrip = ctxmChangeStatus;
pbUserPfp.Image = Properties.Resources.DefaultPfp;
pbUserPfp.Location = new Point(3, 4);
pbUserPfp.Name = "pbUserPfp";
pbUserPfp.Size = new Size(51, 50);
pbUserPfp.SizeMode = PictureBoxSizeMode.StretchImage;
pbUserPfp.TabIndex = 6;
pbUserPfp.TabStop = false;
//
// Main
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = Color.DodgerBlue;
ClientSize = new Size(463, 613);
Controls.Add(pCurrentUser);
Controls.Add(pCurrencyArea);
Controls.Add(lblRequestNotif);
Controls.Add(tbcMain);
FormBorderStyle = FormBorderStyle.FixedDialog;
Icon = (Icon)resources.GetObject("$this.Icon");
MaximizeBox = false;
Name = "Main";
StartPosition = FormStartPosition.CenterScreen;
Text = "QtC.NET Client";
FormClosed += frmMain_FormClosed;
Load += frmMain_Load;
Resize += frmMain_Resize;
tbcMain.ResumeLayout(false);
tbpContacts.ResumeLayout(false);
tbpRooms.ResumeLayout(false);
tbpOnlineUsers.ResumeLayout(false);
tbpUserDirectory.ResumeLayout(false);
tbpGames.ResumeLayout(false);
ctxmChangeStatus.ResumeLayout(false);
pCurrencyArea.ResumeLayout(false);
pCurrencyArea.PerformLayout();
((System.ComponentModel.ISupportInitialize)pbCurrencyIcon).EndInit();
pCurrentUser.ResumeLayout(false);
pCurrentUser.PerformLayout();
((System.ComponentModel.ISupportInitialize)pbUserPfp).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TabControl tbcMain;
private TabPage tbpContacts;
private TabPage tbpRooms;
private ListBox lbRooms;
private TabPage tbpOnlineUsers;
private ListBox lbOnlineUsers;
private Label lblRequestNotif;
private ListView lvContacts;
private ImageList ilProfilePics;
private NotifyIcon niMain;
private ImageList ilTabIcons;
private ContextMenuStrip ctxmChangeStatus;
private ToolStripMenuItem onlineToolStripMenuItem;
private ToolStripMenuItem awayToolStripMenuItem;
private ToolStripMenuItem doNotDisturbToolStripMenuItem;
private ToolStripMenuItem invisibleToolStripMenuItem;
private Button btnAddRoom;
private LinkLabel llblClaimSpin;
private TabPage tbpUserDirectory;
private ListBox lbUserDirectory;
private Panel pCurrencyArea;
private Panel pCurrentUser;
private LinkLabel llblEditProfile;
private LinkLabel llblSignOut;
private LinkLabel llblSignIn;
private Label lblWelcome;
private PictureBox pbUserPfp;
private TabPage tbpGames;
private ListView lvGames;
private ImageList ilGames;
private PictureBox pbCurrencyIcon;
private Label lblCurrencyAmount;
}
}