コード例 #1
0
ファイル: BGraphExt.cs プロジェクト: Joni1010/market
        protected void InitExt()
        {
            Candels     = new GCandles(MainPanel.Params);
            RightPrices = new GRightValue(MainPanel.Params);
            Times       = new GTimeFrame(MainPanel.Params);

            RightPrices.Decimal = MainPanel.Params.CountFloat;
        }
コード例 #2
0
ファイル: GVerLevel.cs プロジェクト: Joni1010/market
        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);
            };
        }