protected void InitExt() { Candels = new GCandles(MainPanel.Params); RightPrices = new GRightValue(MainPanel.Params); Times = new GTimeFrame(MainPanel.Params); RightPrices.Decimal = MainPanel.Params.CountFloat; }
public GVerLevel(BaseParams param) { Panel = new ViewPanel(param); PanelLast = new ViewPanel(param); Values = new GRightValue(param); Values.ColorLines = Color.DarkGray; Values.ColorText = Color.Black; Panel.OnChangeRect += (rect) => { Values.Panel.SetRect(rect); PanelLast.SetRect(rect); }; }