private static void TypeOfCharacterTable_PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { StringByteControl ctrl = d as StringByteControl; ctrl.UpdateLabelFromByte(); ctrl.UpdateHexString(); }
private static void Action_ValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { StringByteControl ctrl = d as StringByteControl; if (e.NewValue != e.OldValue) { ctrl.UpdateBackGround(); } }
private static void ByteNext_PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { StringByteControl ctrl = d as StringByteControl; if (e.NewValue != e.OldValue) { //if (ctrl.Action != ByteAction.Nothing && ctrl.InternalChange == false) // ctrl.StringByteModified?.Invoke(ctrl, new EventArgs()); ctrl.UpdateLabelFromByte(); //ctrl.UpdateHexString(); ctrl.UpdateBackGround(); } }