StructuredTraceSource TraceEnterEventHandler Method CleanCode C# Libraries v1.2.03 API
Traces entering an event handler for a specific GUI component, and increases the indentation.

Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

public void TraceEnterEventHandler(
	Object sender

The type of component (Button, MenuItem, etc.), its name, and its label, if any, are shown in the log output. If the naming of your event handler follows the standard convention of [control name]_[event name] (as in, for example, dataGridView_CellFormatting), the name of the event (e.g. CellFormatting) is also reported.
See Also