Fetching "Stocks per group and person" implemented , Portfolioowner on Stockpage

This commit is contained in:
2022-02-02 20:09:43 +01:00
parent 6e7091416d
commit b776847980
16 changed files with 106 additions and 25 deletions

View File

@ -71,6 +71,7 @@ namespace StockInfoCore
AddItemToListView(stk);
}
lblOwnerName.Text = $"* {ConnectedPerson.FirstName} {ConnectedPerson.LastName} *";
txtBuyTotal.Text = BoughtSum.ToString();
txtBuyTotal.Refresh();
txtCurrValue.Text = CurrentSum.ToString();
@ -96,7 +97,7 @@ namespace StockInfoCore
private void TotalReload()
{
_stockMarketRepository.LoadStockMarketList();
_stockMarketRepository.LoadStockMarketList(ConnectedPerson.Id);
Stocks = _stockMarketRepository.StockMarketList;
ReloadData();
// lbUpdateTimes.Items.Add($"{DateTime.Now.ToLongTimeString()} - {txtTotDiff.Text.Substring(0, txtTotDiff.Text.Length-2)}");