A delegate definition to allow updating the caller's Form.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
public delegate void RefresherCopy()
public delegate void RefresherCopy()
Public Delegate Sub RefresherCopy
Public Delegate Sub RefresherCopy
public delegate void RefresherCopy()
public delegate void RefresherCopy()
Typically, this is as simple as...
messageManager = new ...
messageManager.Refresher = delegate() { Refresh(); };
messageManager = new ... // (depends on subclass)
messageManager.Refresher = delegate() { Refresh(); };
... specifying the calling Form's
Refresh method.