Click here to Skip to main content
15,900,378 members
Home / Discussions / C#
   

C#

 
GeneralSend a click to an application Pin
Dario Solera1-Jul-05 21:15
Dario Solera1-Jul-05 21:15 
GeneralAdding Help in a software Pin
asmyan1-Jul-05 21:06
asmyan1-Jul-05 21:06 
GeneralRe: Adding Help in a software Pin
Ashok Dhamija1-Jul-05 21:10
Ashok Dhamija1-Jul-05 21:10 
GeneralRe: Adding Help in a software Pin
Dario Solera1-Jul-05 23:55
Dario Solera1-Jul-05 23:55 
GeneralThreads and System.Timers.Timer - Problems Pin
stan281-Jul-05 20:41
stan281-Jul-05 20:41 
GeneralRe: Threads and System.Timers.Timer - Problems Pin
S. Senthil Kumar1-Jul-05 21:22
S. Senthil Kumar1-Jul-05 21:22 
GeneralRe: Threads and System.Timers.Timer - Problems Pin
stan283-Jul-05 7:37
stan283-Jul-05 7:37 
GeneralRe: Threads and System.Timers.Timer - Problems Pin
leppie2-Jul-05 6:47
leppie2-Jul-05 6:47 
jbx1628 wrote:
Anyone know why this is happening ?

The Timer class creates a thread to run itself in. This obviously stays alive, but logically you would think if the thread that created it was aborted, it should abort any 'child' threads too. This doesnt seem to be the case though.

Now the solution should be:
override Dispose(bool disposing)
{
  timer1.Dispose();
  base.Dispose(disposing);
}

This should be called when the finalizer is called for the WithTimer either by calling Dispose() or letting it be GC'd.

xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots
GeneralRe: Threads and System.Timers.Timer - Problems Pin
stan283-Jul-05 7:40
stan283-Jul-05 7:40 
GeneralPlz Help on Net Send Pin
Member 122691721-Jul-05 19:18
Member 122691721-Jul-05 19:18 
GeneralRe: Plz Help on Net Send Pin
Dario Solera1-Jul-05 23:40
Dario Solera1-Jul-05 23:40 
GeneralIntegration of Window Service and my project through set up program Pin
ksanju10001-Jul-05 19:09
ksanju10001-Jul-05 19:09 
GeneralRe: Integration of Window Service and my project through set up program Pin
mav.northwind1-Jul-05 20:10
mav.northwind1-Jul-05 20:10 
GeneralHey all, i have a bit of a problem with event handlers... Pin
tom_dx1-Jul-05 16:43
tom_dx1-Jul-05 16:43 
GeneralRe: Hey all, i have a bit of a problem with event handlers... Pin
ACorbs1-Jul-05 17:02
ACorbs1-Jul-05 17:02 
GeneralSorting problem Pin
damir_tk1-Jul-05 11:25
damir_tk1-Jul-05 11:25 
GeneralRe: Sorting problem Pin
Guffa1-Jul-05 12:34
Guffa1-Jul-05 12:34 
GeneralDynamic Menus in C# Pin
0ryan01-Jul-05 9:08
0ryan01-Jul-05 9:08 
GeneralRe: Dynamic Menus in C# Pin
rudy.net1-Jul-05 18:01
rudy.net1-Jul-05 18:01 
GeneralSendMessage Pin
ladwah1-Jul-05 8:46
ladwah1-Jul-05 8:46 
GeneralRe: SendMessage Pin
Judah Gabriel Himango1-Jul-05 9:47
sponsorJudah Gabriel Himango1-Jul-05 9:47 
GeneralRe: SendMessage Pin
ladwah1-Jul-05 10:36
ladwah1-Jul-05 10:36 
GeneralC# Threading problem Pin
X3mFran1-Jul-05 7:50
X3mFran1-Jul-05 7:50 
GeneralRe: C# Threading problem Pin
S. Senthil Kumar1-Jul-05 8:34
S. Senthil Kumar1-Jul-05 8:34 
GeneralRe: C# Threading problem Pin
X3mFran1-Jul-05 8:58
X3mFran1-Jul-05 8:58 

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.