
April 7th, 2012, 05:50 AM
|
|
Registered User
|
|
Join Date: Jul 2010
Posts: 13
Time spent in forums: 3 h 56 m 31 sec
Reputation Power: 0
|
|
|
C# Tabs and events
Hi there,
I have application in which I use tabs as mean of menus.
Main tabcontrol with tabs, and in those tabs there is another tabcontrol with its tabs.
Let's say I have tab "Inactive" and inside tabcontrol with Tabs "Employees" and "Companies"
When I go "employees", i wanna show inactive employees so I created TabPage_Enter event that shows them.
Problem is that when I first go to "Inactive" tabpage, it does not show them. I have to click somewhere in "Employees" tab area to make it happen. Do you understand me? "Employee" tabpage is visible, but event on Enter is not executed.
I have no idea how to make it. Maybe I should use another event? I went and see events, but I dont know if there is better one...
|