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

            if (wnd.ShowModal(this))
            {
                SelectedPortfolio = wnd.SelectedPortfolio;
            }
        }
Esempio n. 2
0
        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;
            }
        }
		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;
			}
		}
		private void Button_Click(object sender, RoutedEventArgs e)
		{
			var wnd = new PortfolioPickerWindow
			{
				Connector = Connector,
			};

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