252 lines
11 KiB
C#
252 lines
11 KiB
C#
|
|
namespace RepositoryPattern
|
|
{
|
|
partial class frmMyStocks
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.lvMyStocks = new System.Windows.Forms.ListView();
|
|
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
|
|
this.txtBuyTotal = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtTotDiff = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtCurrValue = new System.Windows.Forms.TextBox();
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.chkAutoReload = new System.Windows.Forms.CheckBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// lvMyStocks
|
|
//
|
|
this.lvMyStocks.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.lvMyStocks.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
|
this.lvMyStocks.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
|
this.columnHeader1,
|
|
this.columnHeader2,
|
|
this.columnHeader3,
|
|
this.columnHeader4,
|
|
this.columnHeader5,
|
|
this.columnHeader6,
|
|
this.columnHeader7,
|
|
this.columnHeader8,
|
|
this.columnHeader9,
|
|
this.columnHeader10});
|
|
this.lvMyStocks.GridLines = true;
|
|
this.lvMyStocks.HideSelection = false;
|
|
this.lvMyStocks.Location = new System.Drawing.Point(12, 32);
|
|
this.lvMyStocks.Name = "lvMyStocks";
|
|
this.lvMyStocks.Size = new System.Drawing.Size(911, 278);
|
|
this.lvMyStocks.TabIndex = 0;
|
|
this.lvMyStocks.UseCompatibleStateImageBehavior = false;
|
|
this.lvMyStocks.View = System.Windows.Forms.View.Details;
|
|
this.lvMyStocks.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.lvMyStocks_DrawColumnHeader);
|
|
//
|
|
// columnHeader1
|
|
//
|
|
this.columnHeader1.Name = "columnHeader1";
|
|
this.columnHeader1.Text = "Stock Name";
|
|
this.columnHeader1.Width = 80;
|
|
//
|
|
// columnHeader2
|
|
//
|
|
this.columnHeader2.Name = "columnHeader2";
|
|
this.columnHeader2.Text = "Buy Price";
|
|
this.columnHeader2.Width = 80;
|
|
//
|
|
// columnHeader3
|
|
//
|
|
this.columnHeader3.Name = "columnHeader3";
|
|
this.columnHeader3.Text = "Amount Stk";
|
|
this.columnHeader3.Width = 80;
|
|
//
|
|
// columnHeader4
|
|
//
|
|
this.columnHeader4.Name = "columnHeader4";
|
|
this.columnHeader4.Text = "Buy Date";
|
|
this.columnHeader4.Width = 80;
|
|
//
|
|
// columnHeader5
|
|
//
|
|
this.columnHeader5.Name = "columnHeader5";
|
|
this.columnHeader5.Text = "Value diff";
|
|
//
|
|
// columnHeader6
|
|
//
|
|
this.columnHeader6.Name = "columnHeader6";
|
|
this.columnHeader6.Text = "Value diff %";
|
|
this.columnHeader6.Width = 80;
|
|
//
|
|
// columnHeader7
|
|
//
|
|
this.columnHeader7.Name = "columnHeader7";
|
|
this.columnHeader7.Text = "Market price";
|
|
this.columnHeader7.Width = 80;
|
|
//
|
|
// columnHeader8
|
|
//
|
|
this.columnHeader8.Name = "columnHeader8";
|
|
this.columnHeader8.Text = "Market Date";
|
|
this.columnHeader8.Width = 80;
|
|
//
|
|
// columnHeader9
|
|
//
|
|
this.columnHeader9.Name = "columnHeader9";
|
|
this.columnHeader9.Text = "Current value";
|
|
this.columnHeader9.Width = 80;
|
|
//
|
|
// columnHeader10
|
|
//
|
|
this.columnHeader10.Name = "columnHeader10";
|
|
this.columnHeader10.Text = "Owned days";
|
|
//
|
|
// txtBuyTotal
|
|
//
|
|
this.txtBuyTotal.Location = new System.Drawing.Point(163, 321);
|
|
this.txtBuyTotal.Name = "txtBuyTotal";
|
|
this.txtBuyTotal.ReadOnly = true;
|
|
this.txtBuyTotal.Size = new System.Drawing.Size(100, 23);
|
|
this.txtBuyTotal.TabIndex = 1;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label1.Location = new System.Drawing.Point(56, 319);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(101, 21);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "Bought Totalt";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label2.Location = new System.Drawing.Point(269, 319);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(55, 21);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "TotDiff";
|
|
//
|
|
// txtTotDiff
|
|
//
|
|
this.txtTotDiff.Location = new System.Drawing.Point(330, 321);
|
|
this.txtTotDiff.Name = "txtTotDiff";
|
|
this.txtTotDiff.ReadOnly = true;
|
|
this.txtTotDiff.Size = new System.Drawing.Size(100, 23);
|
|
this.txtTotDiff.TabIndex = 3;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label3.Location = new System.Drawing.Point(509, 319);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(105, 21);
|
|
this.label3.TabIndex = 6;
|
|
this.label3.Text = "Current Value";
|
|
//
|
|
// txtCurrValue
|
|
//
|
|
this.txtCurrValue.Location = new System.Drawing.Point(620, 321);
|
|
this.txtCurrValue.Name = "txtCurrValue";
|
|
this.txtCurrValue.ReadOnly = true;
|
|
this.txtCurrValue.Size = new System.Drawing.Size(100, 23);
|
|
this.txtCurrValue.TabIndex = 5;
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Interval = 150000;
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// chkAutoReload
|
|
//
|
|
this.chkAutoReload.AutoSize = true;
|
|
this.chkAutoReload.Location = new System.Drawing.Point(13, 7);
|
|
this.chkAutoReload.Name = "chkAutoReload";
|
|
this.chkAutoReload.Size = new System.Drawing.Size(121, 19);
|
|
this.chkAutoReload.TabIndex = 7;
|
|
this.chkAutoReload.Text = "Automatic Reload";
|
|
this.chkAutoReload.UseVisualStyleBackColor = true;
|
|
this.chkAutoReload.CheckedChanged += new System.EventHandler(this.chkAutoReload_CheckedChanged);
|
|
//
|
|
// frmMyStocks
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(935, 481);
|
|
this.Controls.Add(this.chkAutoReload);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtCurrValue);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.txtTotDiff);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.txtBuyTotal);
|
|
this.Controls.Add(this.lvMyStocks);
|
|
this.Name = "frmMyStocks";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "frmMyStocks";
|
|
this.Shown += new System.EventHandler(this.frmMyStocks_Shown);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ListView lvMyStocks;
|
|
private System.Windows.Forms.ColumnHeader columnHeader1;
|
|
private System.Windows.Forms.ColumnHeader columnHeader2;
|
|
private System.Windows.Forms.ColumnHeader columnHeader3;
|
|
private System.Windows.Forms.ColumnHeader columnHeader4;
|
|
private System.Windows.Forms.ColumnHeader columnHeader5;
|
|
private System.Windows.Forms.ColumnHeader columnHeader6;
|
|
private System.Windows.Forms.ColumnHeader columnHeader7;
|
|
private System.Windows.Forms.ColumnHeader columnHeader8;
|
|
private System.Windows.Forms.ColumnHeader columnHeader9;
|
|
private System.Windows.Forms.ColumnHeader columnHeader10;
|
|
private System.Windows.Forms.TextBox txtBuyTotal;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtTotDiff;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtCurrValue;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private System.Windows.Forms.CheckBox chkAutoReload;
|
|
}
|
|
} |