how i heed between information contracting user actions winform controls
i have contingency customary catch-22 problem. i have .net winform control contains textbox checkbox. both controls information organization properties information category instance. textbox price, check box infer cost price override. also information category ability binds item's uncanny price.
i controls honour following rules:
- when user enters value cost textbox, checkbox automatically checked infer vital cost value
- when check box un-checked, item's cost easy uncanny price.
when user unchecks checkbox, eventuality handler tests checked state, sets item's cost ability uncanny cost value. however, cost value being databound, bond eventuality fired, updates textbox value, fires calm altered eventuality handler re-checks checkbox.
i've attempted trap conditions where i'm definitely updating something trigger control change event. wholly works biased though. textbox change eventuality fires times outmost control, such databinding fires form primarily shown.
i've poison around i speculation i'm only opening adult right hunt terms i'm looking for. seems databinding smashing nifty until need something pratical it, carrying twin organization controls correlate any other. there only doesn't seem proceed heed between triggered control events.
i've also looked during events accessible contracting source member nonetheless there doesn't seem anything there any some-more useful. i hoop eventuality fires after contracting complete, nonetheless that's after problems occur.
anyone have any suggestions?
Comments
Post a Comment