public void Graph() { PlotForm form = new PlotForm(); form.WindowState = FormWindowState.Maximized; form.SetPlotPoints(PlotPoints, BuyPrices, SellPrices); form.ShowDialog(); }
public static void ShowPlotForm(this Trader trader) { PlotForm form = new PlotForm(); form.WindowState = FormWindowState.Maximized; form.SetPlotPoints(trader.PlotPoints, trader.BuyPrices, trader.SellPrices); form.ShowDialog(); }