BasicNoUIObjSynchronizing Event |
Occurs when the remote Basic Control/Object needs to Synchronize.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic event EventHandler<SynchronizingEventArgs> Synchronizing
Public Event Synchronizing As EventHandler(Of SynchronizingEventArgs)
public:
virtual event EventHandler<SynchronizingEventArgs^>^ Synchronizing {
void add (EventHandler<SynchronizingEventArgs^>^ value);
void remove (EventHandler<SynchronizingEventArgs^>^ value);
}
Value
EventHandlerSynchronizingEventArgsImplements
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);
}
Private Sub BasicIdeCtl1_Synchronizing(ByVal sender As Object, ByVal e As SynchronizingEventArgs) Handles BasicIdeCtl.Synchronizing
BasicNoUICtl1.Synchronize(e.Param, e.Id)
End Sub
private: System::Void basicIdeCtl1_Synchronizing(System::Object ^ sender, SynchronizingEventArgs ^ e)
{
BasicNoUICtl1->Synchronize(e->Param, e->Id);
}
See Also