private void _addEvents(CheckBox cb)
        {
            ToolTipsBuilder.SetupNextToolTip(cb, this);
            cb.IsChecked = ((int)cb.Tag & _value) == (int)cb.Tag;

            cb.Checked   += (e, a) => _update();
            cb.Unchecked += (e, a) => _update();
        }
        private void _addEvents(CheckBox cb)
        {
            ToolTipsBuilder.SetupNextToolTip(cb, this);
            cb.IsChecked = ParserHelper.IsTrue(_value, cb.Tag);

            cb.Checked   += (e, a) => _update();
            cb.Unchecked += (e, a) => _update();
        }
Beispiel #3
0
        private void _addEvents(CheckBox cb)
        {
            ToolTipsBuilder.SetupNextToolTip(cb, this);
            cb.IsChecked = (_flag & (1 << _eventId)) == (1 << _eventId);

            cb.Checked   += (e, a) => _update();
            cb.Unchecked += (e, a) => _update();

            WpfUtils.AddMouseInOutEffectsBox(cb);
            _eventId++;
        }