Click or drag to resize

Portfolio picker window

PortfolioPickerWindow is the window for selecting a portfolio. The window displays a list of portfolios and information about the cash positions of portfolios.

GUI PortfolioPickerWindow

Main properties

Below is the code snippet with its use.

private void Button_Click(object sender, RoutedEventArgs e)
    var wnd = new PortfolioPickerWindow();

    if (Portfolios != null)
        wnd.Portfolios = Portfolios;

    if (wnd.ShowModal(this))
        SelectedPortfolio = wnd.SelectedPortfolio;