private void addInvestmentToolStripMenuItem_Click(object sender, System.EventArgs e) { Add_Investment addStock = new Add_Investment(ref thisPortfolio); addStock.ShowDialog(); thisPortfolio = addStock.ThisPortfolio; updateGrid(thisPortfolio); }
private void addStockToolStripMenuItem_Click(object sender, System.EventArgs e) { Add_Investment addStock = new Add_Investment(ref thisPortfolio, qr1); addStock.ShowDialog(); }
private void bAddToPortfolio_Click(object sender, EventArgs e) { Add_Investment addStock = new Add_Investment(ref thisPortfolio, queryResult); addStock.Show(); }