InitBarSettings() публичный Метод

public InitBarSettings ( BarType barType, long barSize ) : void
barType BarType
barSize long
Результат void
Пример #1
0
 public override DataObjectEditor GetEditor()
 {
   BarEditor barEditor = new BarEditor();
   BarType barType;
   long barSize;
   if (!DataSeriesNameHelper.TryGetBarTypeSize(this.dataSeries, out barType, out barSize))
   {
     barType = BarType.Time;
     barSize = 0L;
   }
   barEditor.InitBarSettings(barType, barSize);
   return (DataObjectEditor) barEditor;
 }
Пример #2
0
        public override DataObjectEditor GetEditor()
        {
            BarEditor barEditor = new BarEditor();
            BarType   barType;
            long      barSize;

            if (!DataSeriesNameHelper.TryGetBarTypeSize(this.dataSeries, out barType, out barSize))
            {
                barType = BarType.Time;
                barSize = 0L;
            }
            barEditor.InitBarSettings(barType, barSize);
            return((DataObjectEditor)barEditor);
        }