Exemple #1
0
 /// <summary>
 /// Handles a change to the Folder List data.
 /// </summary>
 /// <param name="sender">Object that generated the event.</param>
 /// <param name="e">This aregument isn't used.</param>
 private void ChangeObjectRow(object sender, ClientMarketData.ObjectRowChangeEvent objectRowChangeEvent)
 {
     // This will catch all the new objects added to the client data model and pass them on to be filtered further by a
     // handler outside of the Data Model event updates.
     if (objectRowChangeEvent.Action == DataRowAction.Commit)
     {
         if (!objectRowChangeEvent.Row.HasVersion(DataRowVersion.Original))
         {
             this.newObjectIdList.Add(objectRowChangeEvent.Row.ObjectId);
         }
     }
 }
Exemple #2
0
 /// <summary>
 /// Handles a change to the ClientMarketData.Object table.
 /// </summary>
 /// <param name="sender">Object that generated the event.</param>
 /// <param name="e">The event arguments.</param>
 private void ChangeObjectRow(object sender, ClientMarketData.ObjectRowChangeEvent objectRowChangeEvent)
 {
     // Setting this flag will cause the next refresh to incrementally update the Folder List viewer if the
     // structure hasn't changed.
     this.hasNewData = true;
 }
Exemple #3
0
 /// <summary>
 /// Event driver for a change to the Object table.
 /// </summary>
 /// <param name="sender">The object that generated the event.</param>
 /// <param name="ChangeObject">The parameters for the event handler.</param>
 private void ChangeObjectRow(object sender, ClientMarketData.ObjectRowChangeEvent objectRowChangeEvent)
 {
 }