c# - How to get child control? -
i have tabcontrol contain 4 subtabs.
each of tab contain picture box cotrol.
i need picture box control of selected tab control.
any idea how implement it?
perhaps
var picbox = tabcontrol1.selectedtab.controls.oftype<picturebox>().first();
Comments
Post a Comment