c# - How to get child control? -


i have tabcontrol contain 4 subtabs.

enter image description here

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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -