Click or drag to resize

BasicNoUIObjSynchronizing Event

Occurs when the remote Basic Control/Object needs to Synchronize.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public event EventHandler<SynchronizingEventArgs> Synchronizing

Value

EventHandlerSynchronizingEventArgs

Implements

IBasicNoUISynchronizing
Remarks
The event handler receives an argument of type SynchronizingEventArgs.
Property Description
Param Data to be passed to the remote's Synchronize method. This is a JSON encoded string. It is an array of objects.
Id This is either the Id from the Synchronize method call or it is -1. Use this id for routing the Synchronizing data to the correct remote Basic control/object. The value -1 indicates that all remote Basic controls/objects should receive this data.

Synchronize remote Basic Control/Object using this data.

Example
Synchronize the remote with this data:
private void basicIdeCtl1_Synchronizing(object sender, SynchronizingEventArgs e)
{
    BasicNoUICtl1.Synchronize(e.Param, e.Id);
}
See Also