11 references to ThreadExit
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (1)
729
ApplicationContext!.
ThreadExit
+= OnAppThreadExit;
System\Windows\Forms\ApplicationContext.cs (1)
126
protected virtual void ExitThreadCore() =>
ThreadExit
?.Invoke(this, EventArgs.Empty);
System.Windows.Forms.Tests (9)
System\Windows\Forms\ApplicationContextTests.cs (9)
79
context.
ThreadExit
+= handler;
108
context.
ThreadExit
+= handler;
142
context.
ThreadExit
+= handler;
298
context.
ThreadExit
+= handler;
309
context.
ThreadExit
-= handler;
337
context.
ThreadExit
+= handler;
348
context.
ThreadExit
-= handler;
371
context.
ThreadExit
+= handler;
382
context.
ThreadExit
-= handler;