11 references to ThreadExit
System.Windows.Forms (2)
System\Windows\Forms\Application.ThreadContext.cs (1)
730
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)
77
context.
ThreadExit
+= handler;
106
context.
ThreadExit
+= handler;
140
context.
ThreadExit
+= handler;
296
context.
ThreadExit
+= handler;
307
context.
ThreadExit
-= handler;
335
context.
ThreadExit
+= handler;
346
context.
ThreadExit
-= handler;
369
context.
ThreadExit
+= handler;
380
context.
ThreadExit
-= handler;