Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart5-Feb-05 3:01
protectorHeath Stewart5-Feb-05 3:01 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi5-Feb-05 4:10
Adnan Siddiqi5-Feb-05 4:10 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart5-Feb-05 4:58
protectorHeath Stewart5-Feb-05 4:58 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi5-Feb-05 8:28
Adnan Siddiqi5-Feb-05 8:28 
GeneralRe: Overriding Uninstall method Pin
Adnan Siddiqi6-Feb-05 2:34
Adnan Siddiqi6-Feb-05 2:34 
GeneralRe: Overriding Uninstall method Pin
Heath Stewart6-Feb-05 5:20
protectorHeath Stewart6-Feb-05 5:20 
GeneralCreating web user control dinamically Pin
see074-Feb-05 12:06
see074-Feb-05 12:06 
GeneralRe: Creating web user control dinamically Pin
Heath Stewart4-Feb-05 13:19
protectorHeath Stewart4-Feb-05 13:19 
GeneralManaged direct3d and vmr9 Pin
natarius4-Feb-05 10:46
natarius4-Feb-05 10:46 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart4-Feb-05 13:17
protectorHeath Stewart4-Feb-05 13:17 
GeneralRe: Managed direct3d and vmr9 Pin
natarius4-Feb-05 13:48
natarius4-Feb-05 13:48 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart5-Feb-05 3:14
protectorHeath Stewart5-Feb-05 3:14 
GeneralRe: Managed direct3d and vmr9 Pin
natarius5-Feb-05 7:57
natarius5-Feb-05 7:57 
GeneralRe: Managed direct3d and vmr9 Pin
Heath Stewart6-Feb-05 5:11
protectorHeath Stewart6-Feb-05 5:11 
QuestionHow to enable an UI control in System.Threading.Timer Pin
jll03304-Feb-05 10:11
jll03304-Feb-05 10:11 
I have a problem which I can't enable an UI control such as a text box in System.Threading.Timer times out.

TextBox1.Enabled = false;
System.Threading.TimerCallback tmrCB = new System.Threading.TimerCallback( this.Timer1 );
System.Threading.Timer m_UITimer = new System.Threading.Timer(tmrCB, 0, 500, System.Threading.Timeout.Infinite );

private void Timer1(object state)
{
TextBox1.Enabled = true;
}

After 0.5 second timeout, the TextBox1 is still disabled. Does there has anyway to enable a TextBox or any UI Control in a System Timer thread. I tested in Windows form and it works fine, but it doestn't work in Web Form. Does someone can help can give me an advice how make it work in Web Form.

Thanks a lot.
AnswerRe: How to enable an UI control in System.Threading.Timer Pin
leppie4-Feb-05 13:07
leppie4-Feb-05 13:07 
GeneralRe: How to enable an UI control in System.Threading.Timer Pin
jll03304-Feb-05 13:17
jll03304-Feb-05 13:17 
GeneralPost Build Error Pin
gantww4-Feb-05 9:16
gantww4-Feb-05 9:16 
GeneralRe: Post Build Error Pin
Heath Stewart4-Feb-05 13:14
protectorHeath Stewart4-Feb-05 13:14 
GeneralRe: Post Build Error Pin
gantww5-Feb-05 17:56
gantww5-Feb-05 17:56 
GeneralRe: Post Build Error Pin
Heath Stewart6-Feb-05 5:44
protectorHeath Stewart6-Feb-05 5:44 
GeneralRe: Post Build Error Pin
gantww8-Feb-05 7:21
gantww8-Feb-05 7:21 
GeneralRe: Post Build Error Pin
Heath Stewart8-Feb-05 14:03
protectorHeath Stewart8-Feb-05 14:03 
GeneralXML in c# multi Elements Pin
Dwayner794-Feb-05 8:20
Dwayner794-Feb-05 8:20 
GeneralRe: XML in c# multi Elements Pin
Heath Stewart4-Feb-05 8:56
protectorHeath Stewart4-Feb-05 8:56 

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.