private void checker_Click(object sender, RoutedEventArgs e)
 {
     BitMaskChangedArgs args = new BitMaskChangedArgs(_maskA, _maskB, _maskC);
     if (checker.IsChecked == true)
         OnBitMaskAdded(args);
     else
         OnBitMaskRemoved(args);
 }
 protected virtual void OnBitMaskRemoved(BitMaskChangedArgs e)
 {
     if (BitMaskRemoved != null)
         BitMaskRemoved(this, e);
 }