I'm trying to to change a textbox text when a read-only property changes... I don't have access to the property source because it is from an external library. I just want to check whenever the code changes a Boolean property for example, like events, do something when this event happens. if the READ-ONLY PROPERTY is true then button1.content = "T" else = "F".... is that even possible in vb.net or c#?
UPDATE : Here is what I'm trying to achieve, first im using SlimDX library to detect Gamepad Buttons, to detect buttons using this lib u should use Joystick.State.IsPressed(*Button Number as int*)
to check manually for it if it is pressed it will return True.. to check it I need to use Timer, but this way with a big code in it, timer seems a bad way and cpu killer, So I need to check whenever this boolean (Joystick.State.IsPressed (0)) had changed to do my code.. An event for that if possible. .. Thanks Guys