206 lines
8.4 KiB
C#
206 lines
8.4 KiB
C#
namespace qtc_net_client_2.Forms
|
|
{
|
|
partial class StockMarketGame
|
|
{
|
|
/// <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()
|
|
{
|
|
pStockManagement = new Panel();
|
|
nudStockBuySellAmount = new NumericUpDown();
|
|
btnSell = new Button();
|
|
btnBuy = new Button();
|
|
lblStockCount = new Label();
|
|
pMarketStatus = new Panel();
|
|
lblCurrentStockPrice = new Label();
|
|
lblMarketStatus = new Label();
|
|
pbDollarSignRight = new PictureBox();
|
|
pbDollarSignLeft = new PictureBox();
|
|
btnRefresh = new Button();
|
|
pStockManagement.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)nudStockBuySellAmount).BeginInit();
|
|
pMarketStatus.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pbDollarSignRight).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pbDollarSignLeft).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pStockManagement
|
|
//
|
|
pStockManagement.Controls.Add(nudStockBuySellAmount);
|
|
pStockManagement.Controls.Add(btnSell);
|
|
pStockManagement.Controls.Add(btnBuy);
|
|
pStockManagement.Controls.Add(lblStockCount);
|
|
pStockManagement.Location = new Point(242, 134);
|
|
pStockManagement.Name = "pStockManagement";
|
|
pStockManagement.Size = new Size(135, 81);
|
|
pStockManagement.TabIndex = 3;
|
|
//
|
|
// nudStockBuySellAmount
|
|
//
|
|
nudStockBuySellAmount.Enabled = false;
|
|
nudStockBuySellAmount.Location = new Point(48, 7);
|
|
nudStockBuySellAmount.Name = "nudStockBuySellAmount";
|
|
nudStockBuySellAmount.Size = new Size(42, 23);
|
|
nudStockBuySellAmount.TabIndex = 9;
|
|
//
|
|
// btnSell
|
|
//
|
|
btnSell.Enabled = false;
|
|
btnSell.ForeColor = Color.Black;
|
|
btnSell.Location = new Point(88, 52);
|
|
btnSell.Name = "btnSell";
|
|
btnSell.Size = new Size(39, 23);
|
|
btnSell.TabIndex = 8;
|
|
btnSell.Text = "Sell";
|
|
btnSell.UseVisualStyleBackColor = true;
|
|
btnSell.Click += btnSell_Click;
|
|
//
|
|
// btnBuy
|
|
//
|
|
btnBuy.Enabled = false;
|
|
btnBuy.ForeColor = Color.Black;
|
|
btnBuy.Location = new Point(9, 52);
|
|
btnBuy.Name = "btnBuy";
|
|
btnBuy.Size = new Size(39, 23);
|
|
btnBuy.TabIndex = 7;
|
|
btnBuy.Text = "Buy";
|
|
btnBuy.UseVisualStyleBackColor = true;
|
|
btnBuy.Click += btnBuy_Click;
|
|
//
|
|
// lblStockCount
|
|
//
|
|
lblStockCount.Font = new Font("Segoe UI", 7F, FontStyle.Bold);
|
|
lblStockCount.ImageAlign = ContentAlignment.MiddleRight;
|
|
lblStockCount.Location = new Point(11, 34);
|
|
lblStockCount.Name = "lblStockCount";
|
|
lblStockCount.Size = new Size(115, 12);
|
|
lblStockCount.TabIndex = 6;
|
|
lblStockCount.Text = "Your Stock Count - 999";
|
|
lblStockCount.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// pMarketStatus
|
|
//
|
|
pMarketStatus.Controls.Add(lblCurrentStockPrice);
|
|
pMarketStatus.Controls.Add(lblMarketStatus);
|
|
pMarketStatus.Controls.Add(pbDollarSignRight);
|
|
pMarketStatus.Controls.Add(pbDollarSignLeft);
|
|
pMarketStatus.Location = new Point(9, 7);
|
|
pMarketStatus.Name = "pMarketStatus";
|
|
pMarketStatus.Size = new Size(586, 100);
|
|
pMarketStatus.TabIndex = 4;
|
|
//
|
|
// lblCurrentStockPrice
|
|
//
|
|
lblCurrentStockPrice.Font = new Font("Segoe UI", 9F, FontStyle.Bold);
|
|
lblCurrentStockPrice.ForeColor = Color.Black;
|
|
lblCurrentStockPrice.Location = new Point(194, 73);
|
|
lblCurrentStockPrice.Name = "lblCurrentStockPrice";
|
|
lblCurrentStockPrice.Size = new Size(199, 15);
|
|
lblCurrentStockPrice.TabIndex = 5;
|
|
lblCurrentStockPrice.Text = "Current Price Per Stock Is 999 Q's";
|
|
lblCurrentStockPrice.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// lblMarketStatus
|
|
//
|
|
lblMarketStatus.Font = new Font("Segoe UI", 35F, FontStyle.Bold | FontStyle.Italic);
|
|
lblMarketStatus.Location = new Point(90, 4);
|
|
lblMarketStatus.Name = "lblMarketStatus";
|
|
lblMarketStatus.Size = new Size(408, 62);
|
|
lblMarketStatus.TabIndex = 5;
|
|
lblMarketStatus.Text = "MARKET_STATUS";
|
|
lblMarketStatus.TextAlign = ContentAlignment.MiddleCenter;
|
|
//
|
|
// pbDollarSignRight
|
|
//
|
|
pbDollarSignRight.Image = Properties.Resources.dollar_money;
|
|
pbDollarSignRight.Location = new Point(498, 3);
|
|
pbDollarSignRight.Name = "pbDollarSignRight";
|
|
pbDollarSignRight.Size = new Size(83, 94);
|
|
pbDollarSignRight.SizeMode = PictureBoxSizeMode.Zoom;
|
|
pbDollarSignRight.TabIndex = 4;
|
|
pbDollarSignRight.TabStop = false;
|
|
//
|
|
// pbDollarSignLeft
|
|
//
|
|
pbDollarSignLeft.Image = Properties.Resources.dollar_money;
|
|
pbDollarSignLeft.Location = new Point(6, 3);
|
|
pbDollarSignLeft.Name = "pbDollarSignLeft";
|
|
pbDollarSignLeft.Size = new Size(83, 94);
|
|
pbDollarSignLeft.SizeMode = PictureBoxSizeMode.Zoom;
|
|
pbDollarSignLeft.TabIndex = 3;
|
|
pbDollarSignLeft.TabStop = false;
|
|
//
|
|
// btnRefresh
|
|
//
|
|
btnRefresh.Enabled = false;
|
|
btnRefresh.ForeColor = Color.Black;
|
|
btnRefresh.Location = new Point(282, 109);
|
|
btnRefresh.Name = "btnRefresh";
|
|
btnRefresh.Size = new Size(56, 23);
|
|
btnRefresh.TabIndex = 10;
|
|
btnRefresh.Text = "Refresh";
|
|
btnRefresh.UseVisualStyleBackColor = true;
|
|
btnRefresh.Click += btnRefresh_Click;
|
|
//
|
|
// StockMarketGame
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.DodgerBlue;
|
|
ClientSize = new Size(606, 227);
|
|
Controls.Add(btnRefresh);
|
|
Controls.Add(pMarketStatus);
|
|
Controls.Add(pStockManagement);
|
|
ForeColor = Color.White;
|
|
FormBorderStyle = FormBorderStyle.FixedDialog;
|
|
MaximizeBox = false;
|
|
MinimizeBox = false;
|
|
Name = "StockMarketGame";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "QtC.NET qGame - Stock Market";
|
|
Load += StockMarketGame_Load;
|
|
pStockManagement.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)nudStockBuySellAmount).EndInit();
|
|
pMarketStatus.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)pbDollarSignRight).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pbDollarSignLeft).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Panel pStockManagement;
|
|
private Button btnSell;
|
|
private Button btnBuy;
|
|
private Label lblStockCount;
|
|
private Panel pMarketStatus;
|
|
private Label lblCurrentStockPrice;
|
|
private Label lblMarketStatus;
|
|
private PictureBox pbDollarSignRight;
|
|
private PictureBox pbDollarSignLeft;
|
|
private Button btnRefresh;
|
|
private NumericUpDown nudStockBuySellAmount;
|
|
}
|
|
} |