Inarbetat ISIN
This commit is contained in:
12
StockHistory/frmStockHistoryAnalyse.Designer.cs
generated
12
StockHistory/frmStockHistoryAnalyse.Designer.cs
generated
@ -48,6 +48,7 @@
|
|||||||
histType = new ColumnHeader();
|
histType = new ColumnHeader();
|
||||||
btnStockHistory = new Button();
|
btnStockHistory = new Button();
|
||||||
lblVarning = new Label();
|
lblVarning = new Label();
|
||||||
|
StockCodeISINHeader = new ColumnHeader();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
// lblHistAnalyseHeader
|
// lblHistAnalyseHeader
|
||||||
@ -98,7 +99,7 @@
|
|||||||
//
|
//
|
||||||
// lwStocks
|
// lwStocks
|
||||||
//
|
//
|
||||||
lwStocks.Columns.AddRange(new ColumnHeader[] { chStock, chBought, chNumber, chPrize, chValue });
|
lwStocks.Columns.AddRange(new ColumnHeader[] { StockCodeISINHeader, chStock, chBought, chNumber, chPrize, chValue });
|
||||||
lwStocks.FullRowSelect = true;
|
lwStocks.FullRowSelect = true;
|
||||||
lwStocks.Location = new Point(111, 103);
|
lwStocks.Location = new Point(111, 103);
|
||||||
lwStocks.Name = "lwStocks";
|
lwStocks.Name = "lwStocks";
|
||||||
@ -120,13 +121,13 @@
|
|||||||
//
|
//
|
||||||
// chNumber
|
// chNumber
|
||||||
//
|
//
|
||||||
chNumber.DisplayIndex = 3;
|
chNumber.DisplayIndex = 4;
|
||||||
chNumber.Text = "Antal";
|
chNumber.Text = "Antal";
|
||||||
chNumber.TextAlign = HorizontalAlignment.Right;
|
chNumber.TextAlign = HorizontalAlignment.Right;
|
||||||
//
|
//
|
||||||
// chPrize
|
// chPrize
|
||||||
//
|
//
|
||||||
chPrize.DisplayIndex = 2;
|
chPrize.DisplayIndex = 3;
|
||||||
chPrize.Text = "Köpkurs";
|
chPrize.Text = "Köpkurs";
|
||||||
chPrize.TextAlign = HorizontalAlignment.Right;
|
chPrize.TextAlign = HorizontalAlignment.Right;
|
||||||
chPrize.Width = 100;
|
chPrize.Width = 100;
|
||||||
@ -211,6 +212,10 @@
|
|||||||
lblVarning.TabIndex = 13;
|
lblVarning.TabIndex = 13;
|
||||||
lblVarning.Text = "OBS-->";
|
lblVarning.Text = "OBS-->";
|
||||||
//
|
//
|
||||||
|
// StockCodeISINHeader
|
||||||
|
//
|
||||||
|
StockCodeISINHeader.Text = "ISIN";
|
||||||
|
//
|
||||||
// frmStockHistoryAnalyse
|
// frmStockHistoryAnalyse
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
@ -253,5 +258,6 @@
|
|||||||
private ColumnHeader histTotBelopp;
|
private ColumnHeader histTotBelopp;
|
||||||
private ColumnHeader histType;
|
private ColumnHeader histType;
|
||||||
private Label lblVarning;
|
private Label lblVarning;
|
||||||
|
private ColumnHeader StockCodeISINHeader;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -68,7 +68,8 @@ public partial class frmStockHistoryAnalyse : Form
|
|||||||
if (equityTemp.StockCode != "Total")
|
if (equityTemp.StockCode != "Total")
|
||||||
{
|
{
|
||||||
|
|
||||||
var item = new ListViewItem(equityTemp.StockCode);
|
var item = new ListViewItem(equityTemp.StockISIN);
|
||||||
|
item.SubItems.Add(equityTemp.StockCode.ToString());
|
||||||
item.SubItems.Add(equityTemp.Bought.ToString());
|
item.SubItems.Add(equityTemp.Bought.ToString());
|
||||||
item.SubItems.Add(equityTemp.Quantity.ToString());
|
item.SubItems.Add(equityTemp.Quantity.ToString());
|
||||||
item.SubItems.Add(equityTemp.BoughtPrice.ToString());
|
item.SubItems.Add(equityTemp.BoughtPrice.ToString());
|
||||||
@ -76,6 +77,7 @@ public partial class frmStockHistoryAnalyse : Form
|
|||||||
lwStocks.Items.Add(item);
|
lwStocks.Items.Add(item);
|
||||||
}
|
}
|
||||||
equityTemp.StockCode = t.StockCode;
|
equityTemp.StockCode = t.StockCode;
|
||||||
|
equityTemp.StockISIN = t.StockISIN;
|
||||||
equityTemp.Bought = t.Bought;
|
equityTemp.Bought = t.Bought;
|
||||||
equityTemp.Quantity = t.Quantity;
|
equityTemp.Quantity = t.Quantity;
|
||||||
equityTemp.BoughtPrice = t.BoughtPrice;
|
equityTemp.BoughtPrice = t.BoughtPrice;
|
||||||
@ -91,7 +93,8 @@ public partial class frmStockHistoryAnalyse : Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
var l_item = new ListViewItem(equityTemp.StockCode);
|
var l_item = new ListViewItem(equityTemp.StockISIN);
|
||||||
|
l_item.SubItems.Add(equityTemp.StockCode.ToString());
|
||||||
l_item.SubItems.Add(equityTemp.Bought.ToString());
|
l_item.SubItems.Add(equityTemp.Bought.ToString());
|
||||||
l_item.SubItems.Add(equityTemp.Quantity.ToString());
|
l_item.SubItems.Add(equityTemp.Quantity.ToString());
|
||||||
l_item.SubItems.Add(equityTemp.BoughtPrice.ToString());
|
l_item.SubItems.Add(equityTemp.BoughtPrice.ToString());
|
||||||
|
|||||||
14
StockHistory/frmStockHistoryInit.Designer.cs
generated
14
StockHistory/frmStockHistoryInit.Designer.cs
generated
@ -43,6 +43,7 @@
|
|||||||
TotalAmountHeader = new ColumnHeader();
|
TotalAmountHeader = new ColumnHeader();
|
||||||
CommissionHeader = new ColumnHeader();
|
CommissionHeader = new ColumnHeader();
|
||||||
AmountToPayHeader = new ColumnHeader();
|
AmountToPayHeader = new ColumnHeader();
|
||||||
|
StockcodeISINHeader = new ColumnHeader();
|
||||||
btnClose = new Button();
|
btnClose = new Button();
|
||||||
btnNext = new Button();
|
btnNext = new Button();
|
||||||
btnDtaAnalyse1 = new Button();
|
btnDtaAnalyse1 = new Button();
|
||||||
@ -116,12 +117,12 @@
|
|||||||
// lwTransactions
|
// lwTransactions
|
||||||
//
|
//
|
||||||
lwTransactions.BackColor = Color.WhiteSmoke;
|
lwTransactions.BackColor = Color.WhiteSmoke;
|
||||||
lwTransactions.Columns.AddRange(new ColumnHeader[] { StockCodeHeader, TransactionTypeHeader, TransactionDateHeader, StockQuantityHeader, StockPriceHeader, TotalAmountHeader, CommissionHeader, AmountToPayHeader });
|
lwTransactions.Columns.AddRange(new ColumnHeader[] { StockCodeHeader, TransactionTypeHeader, TransactionDateHeader, StockQuantityHeader, StockPriceHeader, TotalAmountHeader, CommissionHeader, AmountToPayHeader, StockcodeISINHeader });
|
||||||
lwTransactions.ForeColor = SystemColors.InactiveCaptionText;
|
lwTransactions.ForeColor = SystemColors.InactiveCaptionText;
|
||||||
lwTransactions.Location = new Point(451, 20);
|
lwTransactions.Location = new Point(451, 20);
|
||||||
lwTransactions.Margin = new Padding(3, 2, 3, 2);
|
lwTransactions.Margin = new Padding(3, 2, 3, 2);
|
||||||
lwTransactions.Name = "lwTransactions";
|
lwTransactions.Name = "lwTransactions";
|
||||||
lwTransactions.Size = new Size(750, 343);
|
lwTransactions.Size = new Size(875, 343);
|
||||||
lwTransactions.Sorting = SortOrder.Ascending;
|
lwTransactions.Sorting = SortOrder.Ascending;
|
||||||
lwTransactions.TabIndex = 6;
|
lwTransactions.TabIndex = 6;
|
||||||
lwTransactions.UseCompatibleStateImageBehavior = false;
|
lwTransactions.UseCompatibleStateImageBehavior = false;
|
||||||
@ -166,12 +167,16 @@
|
|||||||
AmountToPayHeader.Text = "AmountToPay";
|
AmountToPayHeader.Text = "AmountToPay";
|
||||||
AmountToPayHeader.Width = 110;
|
AmountToPayHeader.Width = 110;
|
||||||
//
|
//
|
||||||
|
// StockcodeISINHeader
|
||||||
|
//
|
||||||
|
StockcodeISINHeader.Text = "ISIN";
|
||||||
|
//
|
||||||
// btnClose
|
// btnClose
|
||||||
//
|
//
|
||||||
btnClose.BackColor = Color.Chartreuse;
|
btnClose.BackColor = Color.Chartreuse;
|
||||||
btnClose.FlatStyle = FlatStyle.Popup;
|
btnClose.FlatStyle = FlatStyle.Popup;
|
||||||
btnClose.Font = new Font("Segoe UI", 11F, FontStyle.Regular, GraphicsUnit.Point, 1, true);
|
btnClose.Font = new Font("Segoe UI", 11F, FontStyle.Regular, GraphicsUnit.Point, 1, true);
|
||||||
btnClose.Location = new Point(1093, 378);
|
btnClose.Location = new Point(1218, 384);
|
||||||
btnClose.Margin = new Padding(3, 2, 3, 2);
|
btnClose.Margin = new Padding(3, 2, 3, 2);
|
||||||
btnClose.Name = "btnClose";
|
btnClose.Name = "btnClose";
|
||||||
btnClose.Size = new Size(108, 28);
|
btnClose.Size = new Size(108, 28);
|
||||||
@ -247,7 +252,7 @@
|
|||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
BackColor = Color.LightGray;
|
BackColor = Color.LightGray;
|
||||||
ClientSize = new Size(1236, 423);
|
ClientSize = new Size(1338, 423);
|
||||||
Controls.Add(btnSaveAllToDB);
|
Controls.Add(btnSaveAllToDB);
|
||||||
Controls.Add(btnListNoteDates);
|
Controls.Add(btnListNoteDates);
|
||||||
Controls.Add(btnDtaAnalyse1);
|
Controls.Add(btnDtaAnalyse1);
|
||||||
@ -288,5 +293,6 @@
|
|||||||
private Button btnDtaAnalyse1;
|
private Button btnDtaAnalyse1;
|
||||||
private Button btnListNoteDates;
|
private Button btnListNoteDates;
|
||||||
private Button btnSaveAllToDB;
|
private Button btnSaveAllToDB;
|
||||||
|
private ColumnHeader StockcodeISINHeader;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user