Ejemplo n.º 1
0
        /// <summary>
        /// конструктор
        /// </summary>
        /// <param name="obv">индикатор для настроек</param>
        public OnBalanceVolumeUi(OnBalanceVolume obv)
        {
            InitializeComponent();
            _obv = obv;



            HostColorBase.Child           = new TextBox();
            HostColorBase.Child.BackColor = _obv.ColorBase;
            CheckBoxPaintOnOff.IsChecked  = _obv.PaintOn;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// конструктор
        /// </summary>
        /// <param name="obv">индикатор для настроек</param>
        public OnBalanceVolumeUi(OnBalanceVolume obv)
        {
            InitializeComponent();
            _obv = obv;

            HostColorBase.Child           = new TextBox();
            HostColorBase.Child.BackColor = _obv.ColorBase;
            CheckBoxPaintOnOff.IsChecked  = _obv.PaintOn;

            ButtonColor.Content        = OsLocalization.Charts.LabelButtonIndicatorColor;
            CheckBoxPaintOnOff.Content = OsLocalization.Charts.LabelPaintIntdicatorIsVisible;
            ButtonAccept.Content       = OsLocalization.Charts.LabelButtonIndicatorAccept;
        }