290 lines
12 KiB
C#
290 lines
12 KiB
C#
namespace qtcnet_client.Controls
|
|
{
|
|
partial class MainTabControl
|
|
{
|
|
/// <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 Component 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();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainTabControl));
|
|
ListViewItem listViewItem1 = new ListViewItem("Stock Market", "StockMarket");
|
|
ListViewItem listViewItem2 = new ListViewItem("Guess The Number", "NumberGuessGame");
|
|
ListViewItem listViewItem3 = new ListViewItem("Tic-Tac-Toe (Multiplayer)", "TicTacToe");
|
|
tcMain = new TabControl();
|
|
tpContacts = new TabPage();
|
|
tlpContactsList = new TableLayoutPanel();
|
|
tpRooms = new TabPage();
|
|
tlpRoomsList = new TableLayoutPanel();
|
|
tpUsers = new TabPage();
|
|
lvUserList = new ListView();
|
|
ilStatusIcons = new ImageList(components);
|
|
tpGames = new TabPage();
|
|
lvGameList = new ListView();
|
|
ilGameIcons = new ImageList(components);
|
|
tpStore = new TabPage();
|
|
listView1 = new ListView();
|
|
ilTabIcons = new ImageList(components);
|
|
ilStoreIcons = new ImageList(components);
|
|
tcMain.SuspendLayout();
|
|
tpContacts.SuspendLayout();
|
|
tpRooms.SuspendLayout();
|
|
tpUsers.SuspendLayout();
|
|
tpGames.SuspendLayout();
|
|
tpStore.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// tcMain
|
|
//
|
|
tcMain.Controls.Add(tpContacts);
|
|
tcMain.Controls.Add(tpRooms);
|
|
tcMain.Controls.Add(tpUsers);
|
|
tcMain.Controls.Add(tpGames);
|
|
tcMain.Controls.Add(tpStore);
|
|
tcMain.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
|
tcMain.ImageList = ilTabIcons;
|
|
tcMain.Location = new Point(0, 0);
|
|
tcMain.Multiline = true;
|
|
tcMain.Name = "tcMain";
|
|
tcMain.SelectedIndex = 0;
|
|
tcMain.Size = new Size(380, 577);
|
|
tcMain.TabIndex = 0;
|
|
//
|
|
// tpContacts
|
|
//
|
|
tpContacts.BorderStyle = BorderStyle.Fixed3D;
|
|
tpContacts.Controls.Add(tlpContactsList);
|
|
tpContacts.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
tpContacts.ImageKey = "Contacts";
|
|
tpContacts.Location = new Point(4, 24);
|
|
tpContacts.Name = "tpContacts";
|
|
tpContacts.Padding = new Padding(3);
|
|
tpContacts.RightToLeft = RightToLeft.No;
|
|
tpContacts.Size = new Size(372, 549);
|
|
tpContacts.TabIndex = 1;
|
|
tpContacts.Text = "Contacts";
|
|
tpContacts.UseVisualStyleBackColor = true;
|
|
//
|
|
// tlpContactsList
|
|
//
|
|
tlpContactsList.BackColor = Color.White;
|
|
tlpContactsList.ColumnCount = 1;
|
|
tlpContactsList.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tlpContactsList.Dock = DockStyle.Fill;
|
|
tlpContactsList.Location = new Point(3, 3);
|
|
tlpContactsList.Name = "tlpContactsList";
|
|
tlpContactsList.Padding = new Padding(0, 5, 0, 5);
|
|
tlpContactsList.RowCount = 1;
|
|
tlpContactsList.RowStyles.Add(new RowStyle());
|
|
tlpContactsList.Size = new Size(362, 539);
|
|
tlpContactsList.TabIndex = 0;
|
|
//
|
|
// tpRooms
|
|
//
|
|
tpRooms.BorderStyle = BorderStyle.Fixed3D;
|
|
tpRooms.Controls.Add(tlpRoomsList);
|
|
tpRooms.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
tpRooms.ImageKey = "Rooms";
|
|
tpRooms.Location = new Point(4, 24);
|
|
tpRooms.Name = "tpRooms";
|
|
tpRooms.Padding = new Padding(3);
|
|
tpRooms.RightToLeft = RightToLeft.No;
|
|
tpRooms.Size = new Size(372, 549);
|
|
tpRooms.TabIndex = 7;
|
|
tpRooms.Text = "Rooms";
|
|
tpRooms.UseVisualStyleBackColor = true;
|
|
//
|
|
// tlpRoomsList
|
|
//
|
|
tlpRoomsList.BackColor = Color.White;
|
|
tlpRoomsList.ColumnCount = 1;
|
|
tlpRoomsList.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tlpRoomsList.Dock = DockStyle.Fill;
|
|
tlpRoomsList.Location = new Point(3, 3);
|
|
tlpRoomsList.Name = "tlpRoomsList";
|
|
tlpRoomsList.Padding = new Padding(0, 3, 0, 3);
|
|
tlpRoomsList.RowCount = 1;
|
|
tlpRoomsList.RowStyles.Add(new RowStyle());
|
|
tlpRoomsList.Size = new Size(362, 539);
|
|
tlpRoomsList.TabIndex = 1;
|
|
//
|
|
// tpUsers
|
|
//
|
|
tpUsers.BorderStyle = BorderStyle.Fixed3D;
|
|
tpUsers.Controls.Add(lvUserList);
|
|
tpUsers.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
tpUsers.ImageKey = "Users";
|
|
tpUsers.Location = new Point(4, 24);
|
|
tpUsers.Name = "tpUsers";
|
|
tpUsers.Size = new Size(372, 549);
|
|
tpUsers.TabIndex = 3;
|
|
tpUsers.Text = "Users";
|
|
tpUsers.UseVisualStyleBackColor = true;
|
|
//
|
|
// lvUserList
|
|
//
|
|
lvUserList.BorderStyle = BorderStyle.None;
|
|
lvUserList.Location = new Point(3, 3);
|
|
lvUserList.MultiSelect = false;
|
|
lvUserList.Name = "lvUserList";
|
|
lvUserList.Size = new Size(364, 541);
|
|
lvUserList.SmallImageList = ilStatusIcons;
|
|
lvUserList.TabIndex = 0;
|
|
lvUserList.UseCompatibleStateImageBehavior = false;
|
|
lvUserList.View = View.List;
|
|
lvUserList.MouseDoubleClick += lvUserList_MouseDoubleClick;
|
|
//
|
|
// ilStatusIcons
|
|
//
|
|
ilStatusIcons.ColorDepth = ColorDepth.Depth32Bit;
|
|
ilStatusIcons.ImageStream = (ImageListStreamer)resources.GetObject("ilStatusIcons.ImageStream");
|
|
ilStatusIcons.TransparentColor = Color.Transparent;
|
|
ilStatusIcons.Images.SetKeyName(0, "Offline");
|
|
ilStatusIcons.Images.SetKeyName(1, "Online");
|
|
ilStatusIcons.Images.SetKeyName(2, "Away");
|
|
ilStatusIcons.Images.SetKeyName(3, "DoNotDisturb");
|
|
//
|
|
// tpGames
|
|
//
|
|
tpGames.BorderStyle = BorderStyle.Fixed3D;
|
|
tpGames.Controls.Add(lvGameList);
|
|
tpGames.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
tpGames.ImageKey = "Games";
|
|
tpGames.Location = new Point(4, 24);
|
|
tpGames.Name = "tpGames";
|
|
tpGames.Padding = new Padding(3);
|
|
tpGames.Size = new Size(372, 549);
|
|
tpGames.TabIndex = 5;
|
|
tpGames.Text = "Games";
|
|
tpGames.UseVisualStyleBackColor = true;
|
|
//
|
|
// lvGameList
|
|
//
|
|
lvGameList.BorderStyle = BorderStyle.None;
|
|
lvGameList.Dock = DockStyle.Fill;
|
|
lvGameList.Font = new Font("Segoe UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
|
listViewItem1.ToolTipText = "Stock Market";
|
|
listViewItem2.ToolTipText = "Guess The Number";
|
|
listViewItem3.ToolTipText = "Tic-Tac-Toe (Multiplayer)";
|
|
lvGameList.Items.AddRange(new ListViewItem[] { listViewItem1, listViewItem2, listViewItem3 });
|
|
lvGameList.LargeImageList = ilGameIcons;
|
|
lvGameList.Location = new Point(3, 3);
|
|
lvGameList.MultiSelect = false;
|
|
lvGameList.Name = "lvGameList";
|
|
lvGameList.Size = new Size(362, 539);
|
|
lvGameList.SmallImageList = ilGameIcons;
|
|
lvGameList.TabIndex = 0;
|
|
lvGameList.UseCompatibleStateImageBehavior = false;
|
|
//
|
|
// ilGameIcons
|
|
//
|
|
ilGameIcons.ColorDepth = ColorDepth.Depth32Bit;
|
|
ilGameIcons.ImageStream = (ImageListStreamer)resources.GetObject("ilGameIcons.ImageStream");
|
|
ilGameIcons.TransparentColor = Color.Transparent;
|
|
ilGameIcons.Images.SetKeyName(0, "StockMarket");
|
|
ilGameIcons.Images.SetKeyName(1, "NumberGuessGame");
|
|
ilGameIcons.Images.SetKeyName(2, "TicTacToe");
|
|
//
|
|
// tpStore
|
|
//
|
|
tpStore.BorderStyle = BorderStyle.Fixed3D;
|
|
tpStore.Controls.Add(listView1);
|
|
tpStore.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
tpStore.ImageKey = "Store";
|
|
tpStore.Location = new Point(4, 24);
|
|
tpStore.Name = "tpStore";
|
|
tpStore.Padding = new Padding(3);
|
|
tpStore.Size = new Size(372, 549);
|
|
tpStore.TabIndex = 8;
|
|
tpStore.Text = "Store";
|
|
tpStore.UseVisualStyleBackColor = true;
|
|
//
|
|
// listView1
|
|
//
|
|
listView1.BorderStyle = BorderStyle.None;
|
|
listView1.Dock = DockStyle.Fill;
|
|
listView1.Location = new Point(3, 3);
|
|
listView1.MultiSelect = false;
|
|
listView1.Name = "listView1";
|
|
listView1.Size = new Size(362, 539);
|
|
listView1.TabIndex = 0;
|
|
listView1.UseCompatibleStateImageBehavior = false;
|
|
//
|
|
// ilTabIcons
|
|
//
|
|
ilTabIcons.ColorDepth = ColorDepth.Depth32Bit;
|
|
ilTabIcons.ImageStream = (ImageListStreamer)resources.GetObject("ilTabIcons.ImageStream");
|
|
ilTabIcons.TransparentColor = Color.Transparent;
|
|
ilTabIcons.Images.SetKeyName(0, "Contacts");
|
|
ilTabIcons.Images.SetKeyName(1, "Rooms");
|
|
ilTabIcons.Images.SetKeyName(2, "Users");
|
|
ilTabIcons.Images.SetKeyName(3, "Games");
|
|
ilTabIcons.Images.SetKeyName(4, "Store");
|
|
//
|
|
// ilStoreIcons
|
|
//
|
|
ilStoreIcons.ColorDepth = ColorDepth.Depth32Bit;
|
|
ilStoreIcons.ImageSize = new Size(32, 32);
|
|
ilStoreIcons.TransparentColor = Color.Transparent;
|
|
//
|
|
// MainTabControl
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
AutoSize = true;
|
|
BackColor = Color.Transparent;
|
|
Controls.Add(tcMain);
|
|
DoubleBuffered = true;
|
|
Name = "MainTabControl";
|
|
Size = new Size(383, 580);
|
|
tcMain.ResumeLayout(false);
|
|
tpContacts.ResumeLayout(false);
|
|
tpRooms.ResumeLayout(false);
|
|
tpUsers.ResumeLayout(false);
|
|
tpGames.ResumeLayout(false);
|
|
tpStore.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private TabControl tcMain;
|
|
private TabPage tpContacts;
|
|
private TabPage tpUsers;
|
|
private ListView lvUserList;
|
|
private TabPage tpGames;
|
|
private ListView lvGameList;
|
|
private ImageList ilTabIcons;
|
|
private ImageList ilStatusIcons;
|
|
private TableLayoutPanel tlpContactsList;
|
|
private TabPage tpStore;
|
|
private ListView listView1;
|
|
private TabPage tpRooms;
|
|
private TableLayoutPanel tlpRoomsList;
|
|
private ImageList ilGameIcons;
|
|
private ImageList ilStoreIcons;
|
|
}
|
|
}
|