Beispiel #1
0
        public void Graph()
        {
            PlotForm form = new PlotForm();

            form.WindowState = FormWindowState.Maximized;
            form.SetPlotPoints(PlotPoints, BuyPrices, SellPrices);
            form.ShowDialog();
        }
Beispiel #2
0
        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();
        }