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();
|
||||
btnStockHistory = new Button();
|
||||
lblVarning = new Label();
|
||||
StockCodeISINHeader = new ColumnHeader();
|
||||
SuspendLayout();
|
||||
//
|
||||
// lblHistAnalyseHeader
|
||||
@ -98,7 +99,7 @@
|
||||
//
|
||||
// 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.Location = new Point(111, 103);
|
||||
lwStocks.Name = "lwStocks";
|
||||
@ -120,13 +121,13 @@
|
||||
//
|
||||
// chNumber
|
||||
//
|
||||
chNumber.DisplayIndex = 3;
|
||||
chNumber.DisplayIndex = 4;
|
||||
chNumber.Text = "Antal";
|
||||
chNumber.TextAlign = HorizontalAlignment.Right;
|
||||
//
|
||||
// chPrize
|
||||
//
|
||||
chPrize.DisplayIndex = 2;
|
||||
chPrize.DisplayIndex = 3;
|
||||
chPrize.Text = "Köpkurs";
|
||||
chPrize.TextAlign = HorizontalAlignment.Right;
|
||||
chPrize.Width = 100;
|
||||
@ -211,6 +212,10 @@
|
||||
lblVarning.TabIndex = 13;
|
||||
lblVarning.Text = "OBS-->";
|
||||
//
|
||||
// StockCodeISINHeader
|
||||
//
|
||||
StockCodeISINHeader.Text = "ISIN";
|
||||
//
|
||||
// frmStockHistoryAnalyse
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
@ -253,5 +258,6 @@
|
||||
private ColumnHeader histTotBelopp;
|
||||
private ColumnHeader histType;
|
||||
private Label lblVarning;
|
||||
private ColumnHeader StockCodeISINHeader;
|
||||
}
|
||||
}
|
||||
@ -68,7 +68,8 @@ public partial class frmStockHistoryAnalyse : Form
|
||||
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.Quantity.ToString());
|
||||
item.SubItems.Add(equityTemp.BoughtPrice.ToString());
|
||||
@ -76,6 +77,7 @@ public partial class frmStockHistoryAnalyse : Form
|
||||
lwStocks.Items.Add(item);
|
||||
}
|
||||
equityTemp.StockCode = t.StockCode;
|
||||
equityTemp.StockISIN = t.StockISIN;
|
||||
equityTemp.Bought = t.Bought;
|
||||
equityTemp.Quantity = t.Quantity;
|
||||
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.Quantity.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();
|
||||
CommissionHeader = new ColumnHeader();
|
||||
AmountToPayHeader = new ColumnHeader();
|
||||
StockcodeISINHeader = new ColumnHeader();
|
||||
btnClose = new Button();
|
||||
btnNext = new Button();
|
||||
btnDtaAnalyse1 = new Button();
|
||||
@ -116,12 +117,12 @@
|
||||
// lwTransactions
|
||||
//
|
||||
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.Location = new Point(451, 20);
|
||||
lwTransactions.Margin = new Padding(3, 2, 3, 2);
|
||||
lwTransactions.Name = "lwTransactions";
|
||||
lwTransactions.Size = new Size(750, 343);
|
||||
lwTransactions.Size = new Size(875, 343);
|
||||
lwTransactions.Sorting = SortOrder.Ascending;
|
||||
lwTransactions.TabIndex = 6;
|
||||
lwTransactions.UseCompatibleStateImageBehavior = false;
|
||||
@ -166,12 +167,16 @@
|
||||
AmountToPayHeader.Text = "AmountToPay";
|
||||
AmountToPayHeader.Width = 110;
|
||||
//
|
||||
// StockcodeISINHeader
|
||||
//
|
||||
StockcodeISINHeader.Text = "ISIN";
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
btnClose.BackColor = Color.Chartreuse;
|
||||
btnClose.FlatStyle = FlatStyle.Popup;
|
||||
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.Name = "btnClose";
|
||||
btnClose.Size = new Size(108, 28);
|
||||
@ -247,7 +252,7 @@
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
BackColor = Color.LightGray;
|
||||
ClientSize = new Size(1236, 423);
|
||||
ClientSize = new Size(1338, 423);
|
||||
Controls.Add(btnSaveAllToDB);
|
||||
Controls.Add(btnListNoteDates);
|
||||
Controls.Add(btnDtaAnalyse1);
|
||||
@ -288,5 +293,6 @@
|
||||
private Button btnDtaAnalyse1;
|
||||
private Button btnListNoteDates;
|
||||
private Button btnSaveAllToDB;
|
||||
private ColumnHeader StockcodeISINHeader;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user