winforms - How to expose DataBind in winfrom control c# -


i'm trying bind mybutton.enabeld bool lacated @ class when write mybutton.databinding error "mybutton not contain definition databinding "

how expose ? know possible , used once before

    var scriptlistboxselectedindexbinding = new binding("selectedindex", control_scripthandler.controlscriptiteratorhanlderagent, "scriptcounter", false, datasourceupdatemode.onpropertychanged);     scriptlistbox.databindings.add(scriptlistboxselectedindexbinding); 

what missing here ?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -