tabcontrol - call of the method in mainwindow gives different result when it is called from usercontrol c# -
in mainwindow try navigate through tabcontrol method public void izaberidijagnostiku() { this.tabcontrol1.selecteditem = tabitem3; this.tabitem3.focus(); } and works. but, when call method user control navigation doesn't work. how can navigate through tabs?