384 lines
19 KiB
C#
384 lines
19 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.columnHeader7 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader11 = 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.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.lbUpdateTimes = new System.Windows.Forms.ListBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtTotalMinus = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtTotalPlus = new System.Windows.Forms.TextBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lvMyStocks
|
|
//
|
|
this.lvMyStocks.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| 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.columnHeader7,
|
|
this.columnHeader11,
|
|
this.columnHeader3,
|
|
this.columnHeader4,
|
|
this.columnHeader5,
|
|
this.columnHeader6,
|
|
this.columnHeader8,
|
|
this.columnHeader9,
|
|
this.columnHeader10});
|
|
this.lvMyStocks.GridLines = true;
|
|
this.lvMyStocks.HideSelection = false;
|
|
this.lvMyStocks.Location = new System.Drawing.Point(14, 43);
|
|
this.lvMyStocks.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.lvMyStocks.Name = "lvMyStocks";
|
|
this.lvMyStocks.Size = new System.Drawing.Size(1191, 369);
|
|
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 = 120;
|
|
//
|
|
// columnHeader2
|
|
//
|
|
this.columnHeader2.Name = "columnHeader2";
|
|
this.columnHeader2.Text = "Buy Price";
|
|
this.columnHeader2.Width = 80;
|
|
//
|
|
// columnHeader7
|
|
//
|
|
this.columnHeader7.Name = "columnHeader7";
|
|
this.columnHeader7.Text = "Market price";
|
|
this.columnHeader7.Width = 100;
|
|
//
|
|
// columnHeader11
|
|
//
|
|
this.columnHeader11.Name = "columnHeader11";
|
|
this.columnHeader11.Text = "Price Diff";
|
|
this.columnHeader11.Width = 100;
|
|
//
|
|
// columnHeader3
|
|
//
|
|
this.columnHeader3.Name = "columnHeader3";
|
|
this.columnHeader3.Text = "Amount Stk";
|
|
this.columnHeader3.Width = 100;
|
|
//
|
|
// columnHeader4
|
|
//
|
|
this.columnHeader4.Name = "columnHeader4";
|
|
this.columnHeader4.Text = "Buy Date";
|
|
this.columnHeader4.Width = 100;
|
|
//
|
|
// columnHeader5
|
|
//
|
|
this.columnHeader5.Name = "columnHeader5";
|
|
this.columnHeader5.Text = "Value diff";
|
|
this.columnHeader5.Width = 100;
|
|
//
|
|
// columnHeader6
|
|
//
|
|
this.columnHeader6.Name = "columnHeader6";
|
|
this.columnHeader6.Text = "Value diff %";
|
|
this.columnHeader6.Width = 80;
|
|
//
|
|
// columnHeader8
|
|
//
|
|
this.columnHeader8.Name = "columnHeader8";
|
|
this.columnHeader8.Text = "Market Date";
|
|
this.columnHeader8.Width = 100;
|
|
//
|
|
// 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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtBuyTotal.Location = new System.Drawing.Point(186, 428);
|
|
this.txtBuyTotal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtBuyTotal.Name = "txtBuyTotal";
|
|
this.txtBuyTotal.ReadOnly = true;
|
|
this.txtBuyTotal.Size = new System.Drawing.Size(114, 27);
|
|
this.txtBuyTotal.TabIndex = 1;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
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(64, 425);
|
|
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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
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(307, 425);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(55, 21);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "TotDiff";
|
|
//
|
|
// txtTotDiff
|
|
//
|
|
this.txtTotDiff.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtTotDiff.Location = new System.Drawing.Point(377, 428);
|
|
this.txtTotDiff.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtTotDiff.Name = "txtTotDiff";
|
|
this.txtTotDiff.ReadOnly = true;
|
|
this.txtTotDiff.Size = new System.Drawing.Size(114, 27);
|
|
this.txtTotDiff.TabIndex = 3;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
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(582, 425);
|
|
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.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtCurrValue.Location = new System.Drawing.Point(709, 428);
|
|
this.txtCurrValue.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtCurrValue.Name = "txtCurrValue";
|
|
this.txtCurrValue.ReadOnly = true;
|
|
this.txtCurrValue.Size = new System.Drawing.Size(114, 27);
|
|
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(15, 9);
|
|
this.chkAutoReload.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.chkAutoReload.Name = "chkAutoReload";
|
|
this.chkAutoReload.Size = new System.Drawing.Size(148, 24);
|
|
this.chkAutoReload.TabIndex = 7;
|
|
this.chkAutoReload.Text = "Automatic Reload";
|
|
this.chkAutoReload.UseVisualStyleBackColor = true;
|
|
this.chkAutoReload.CheckedChanged += new System.EventHandler(this.chkAutoReload_CheckedChanged);
|
|
//
|
|
// lbUpdateTimes
|
|
//
|
|
this.lbUpdateTimes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.lbUpdateTimes.FormattingEnabled = true;
|
|
this.lbUpdateTimes.ItemHeight = 20;
|
|
this.lbUpdateTimes.Location = new System.Drawing.Point(16, 500);
|
|
this.lbUpdateTimes.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.lbUpdateTimes.Name = "lbUpdateTimes";
|
|
this.lbUpdateTimes.Size = new System.Drawing.Size(137, 124);
|
|
this.lbUpdateTimes.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(14, 472);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(97, 20);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "LatestUpdate";
|
|
//
|
|
// numericUpDown1
|
|
//
|
|
this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.numericUpDown1.Location = new System.Drawing.Point(161, 593);
|
|
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.numericUpDown1.Name = "numericUpDown1";
|
|
this.numericUpDown1.Size = new System.Drawing.Size(119, 27);
|
|
this.numericUpDown1.TabIndex = 10;
|
|
this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(160, 569);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(132, 20);
|
|
this.label5.TabIndex = 11;
|
|
this.label5.Text = "Uppdatering (min)";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label6.AutoSize = true;
|
|
this.label6.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label6.Location = new System.Drawing.Point(200, 476);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(89, 21);
|
|
this.label6.TabIndex = 13;
|
|
this.label6.Text = "Total Minus";
|
|
//
|
|
// txtTotalMinus
|
|
//
|
|
this.txtTotalMinus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtTotalMinus.Location = new System.Drawing.Point(295, 474);
|
|
this.txtTotalMinus.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtTotalMinus.Name = "txtTotalMinus";
|
|
this.txtTotalMinus.ReadOnly = true;
|
|
this.txtTotalMinus.Size = new System.Drawing.Size(114, 27);
|
|
this.txtTotalMinus.TabIndex = 12;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.label7.Location = new System.Drawing.Point(438, 476);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(75, 21);
|
|
this.label7.TabIndex = 15;
|
|
this.label7.Text = "Total Plus";
|
|
//
|
|
// txtTotalPlus
|
|
//
|
|
this.txtTotalPlus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.txtTotalPlus.Location = new System.Drawing.Point(533, 474);
|
|
this.txtTotalPlus.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtTotalPlus.Name = "txtTotalPlus";
|
|
this.txtTotalPlus.ReadOnly = true;
|
|
this.txtTotalPlus.Size = new System.Drawing.Size(114, 27);
|
|
this.txtTotalPlus.TabIndex = 14;
|
|
//
|
|
// frmMyStocks
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1217, 651);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.txtTotalPlus);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.txtTotalMinus);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.numericUpDown1);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.lbUpdateTimes);
|
|
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.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.Name = "frmMyStocks";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "frmMyStocks";
|
|
this.Shown += new System.EventHandler(this.frmMyStocks_Shown);
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
|
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;
|
|
private System.Windows.Forms.ListBox lbUpdateTimes;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ColumnHeader columnHeader11;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox txtTotalMinus;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox txtTotalPlus;
|
|
}
|
|
} |