public BotWhithTwoTimeFrameUi(BotWhithTwoTimeFrame bot) { InitializeComponent(); _painter = new ChartPainter("chart", bot.StartProgram); _painter.StartPaintPrimeChart(HostChart, Rectangle); _bot = bot; }
public BotWhithTwoTimeFrameUi(BotWhithTwoTimeFrame bot) { InitializeComponent(); _painter = new ChartCandlePainter("chart", bot.StartProgram); _painter.StartPaintPrimeChart(HostChart, Rectangle); _bot = bot; ButtonPaint.Content = OsLocalization.Trader.Label133; }