Click here to Skip to main content
16,006,515 members
Home / Discussions / C#
   

C#

 
General"NO Such interface supported" C# to Excel Pin
Ruchi Gupta5-Oct-04 11:20
Ruchi Gupta5-Oct-04 11:20 
GeneralLog to Access database from C# Pin
hans175-Oct-04 10:15
hans175-Oct-04 10:15 
Generalprinting with c# Pin
Member 12961365-Oct-04 9:01
Member 12961365-Oct-04 9:01 
GeneralRe: printing with c# Pin
Anonymous5-Oct-04 14:28
Anonymous5-Oct-04 14:28 
GeneralRe: printing with c# Pin
Member 12961367-Oct-04 7:06
Member 12961367-Oct-04 7:06 
GeneralUsing ArrayList in C sharp Pin
aussi5-Oct-04 8:59
aussi5-Oct-04 8:59 
GeneralRe: Using ArrayList in C sharp Pin
Christian Graus5-Oct-04 11:48
protectorChristian Graus5-Oct-04 11:48 
GeneralDisabling a TabPage in TabControl Pin
jagan795-Oct-04 5:41
jagan795-Oct-04 5:41 
Hello ppl,
I am using a tabcontrol for desktop client application(C#/ADO.Net),which has a parser in one tab and report Generator as another tab page. I have used multithreading and assigned a worker thread(say backGroundThread)for the application to parse values - So that the application would repaint itself whenever the user switches back and forth between any window and the application. But as i have used Threading, when parsing is in progress, the user is able to navigate through tabs. So I have to disable the rest of the tabpages in Tabcontrol when parsing in progress.
I tried to reset the tabpage to Parser tab(Sender TabPage) in TabControl_SelectedIndexChanged(object sender, System.EventArgs e)
How do I capture the tabpage(Sender TabPage). i.e name of the tabpage from which the user tried to navigate?
I tried to typecast the sender object to get the sender tabpage.BUt i could not get a break through in identifying the source tabpage.
System.Windows.Forms.TabControl homeTab = (System.Windows.Forms.TabControl)sender;
kindly help me to overcome this problem.

Thanks,
Cheers,
Jagan.


GeneralRe: Disabling a TabPage in TabControl Pin
sreejith ss nair5-Oct-04 6:03
sreejith ss nair5-Oct-04 6:03 
GeneralRe: Disabling a TabPage in TabControl Pin
jagan795-Oct-04 6:33
jagan795-Oct-04 6:33 
GeneralRe: Disabling a TabPage in TabControl Pin
Ruchi Gupta5-Oct-04 11:30
Ruchi Gupta5-Oct-04 11:30 
GeneralRe: Disabling a TabPage in TabControl Pin
jagan795-Oct-04 12:14
jagan795-Oct-04 12:14 
GeneralLibrary References Pin
Jose Vicente5-Oct-04 4:11
Jose Vicente5-Oct-04 4:11 
GeneralRe: Library References Pin
Colin Angus Mackay5-Oct-04 5:31
Colin Angus Mackay5-Oct-04 5:31 
GeneralRe: Library References Pin
Jose Vicente5-Oct-04 5:35
Jose Vicente5-Oct-04 5:35 
GeneralRe: Library References Pin
Colin Angus Mackay5-Oct-04 5:41
Colin Angus Mackay5-Oct-04 5:41 
GeneralRe: Library References Pin
Jose Vicente5-Oct-04 5:45
Jose Vicente5-Oct-04 5:45 
GeneralRe: Library References Pin
Colin Angus Mackay5-Oct-04 5:50
Colin Angus Mackay5-Oct-04 5:50 
GeneralRe: Library References Pin
Dave Kreskowiak5-Oct-04 6:30
mveDave Kreskowiak5-Oct-04 6:30 
GeneralRe: Library References Pin
Jose Vicente5-Oct-04 20:15
Jose Vicente5-Oct-04 20:15 
GeneralRe: Library References Pin
Dave Kreskowiak6-Oct-04 13:11
mveDave Kreskowiak6-Oct-04 13:11 
GeneralRe: Library References Pin
Jose Vicente6-Oct-04 21:11
Jose Vicente6-Oct-04 21:11 
GeneralP/Invoke data type conversion Pin
ting6685-Oct-04 1:51
ting6685-Oct-04 1:51 
GeneralRe: P/Invoke data type conversion Pin
sreejith ss nair5-Oct-04 5:08
sreejith ss nair5-Oct-04 5:08 
GeneralRe: P/Invoke data type conversion Pin
Alex Korchemniy5-Oct-04 17:59
Alex Korchemniy5-Oct-04 17:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.