CleanCode C# Libraries v0.9.23 API

StructuredTraceSource.TraceEnterEventHandler Method 

Traces entering an event handler for a specific GUI component, and increases the indentation.

public void TraceEnterEventHandler(
   Object sender
);

Parameters

sender
The sender component.

Remarks

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

StructuredTraceSource Class | CleanCode.Diagnostics Namespace