Collapse All Expand All | Language Filter: Visual Basic Language Filter: C#Language Filter: Visual C++Language Filter: JavaScript Visual Basic C# Visual C++ JavaScript | Example | See Also
.NET Framework Class Library
LocalEventService..::RefreshRequested Event

BMXNET 4.0 Developer API

This commonly broadcasted event is request to refresh content.

Namespace: IndianHealthService.BMXNet
Assembly: BMXNET40 (in BMXNET40.dll)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    event EventHandler RefreshRequested

    Event RefreshRequested As EventHandler

     event EventHandler^ RefreshRequested {
    	void add (EventHandler^ value);
    	void remove (EventHandler^ value);
    }

# Remarks

In the EHR, this is equivalent to the "REFRESH" event. The WinFramework also uses "REFRESH" as the event name for triggering a refresh request.

# Examples

The following code from Well Child Module's Growth Chart shows registering for the Refresh event at startup:

Copy Code
                     public void Startup()
                     {
                         this.LocalSession.EventServices.RefreshRequested += new EventHandler(Session_RefreshRequested);
                     }

                     void Session_RefreshRequested(object sender, EventArgs e)
                     {
                         this.RefreshAll();
                     }

# See Also

LocalEventService Interface
IndianHealthService.BMXNet Namespace