Occurs when a screen display in the application is refreshed.

Namespace:  ESRI.ArcGIS.Desktop.AddIns

Assembly:  ESRI.ArcGIS.Desktop.Addins (in ESRI.ArcGIS.Desktop.Addins.dll) Version: 10.0.0.0 (10.0.0.0)

Syntax

C#
protected virtual void OnRefresh(
	int hDC
)
Visual Basic (Declaration)
Protected Overridable Sub OnRefresh ( _
	hDC As Integer _
)
Visual C++
protected:
virtual void OnRefresh(
	int hDC
)

Parameters

hDC
Type: System..::.Int32

The h DC.

Remarks

When the current screen display in the application is refreshed, the handle to the device context that is associated with that screen display is passed into the OnRefresh method as an argument.

See Also