internal virtual void ProcessNotification(Notification notification)
{
if (notification is BeginInvokeNotification)
{
BeginInvokeNotification notification2 = notification as BeginInvokeNotification;
this._delegateQueue.Notify(notification2);
}
else if (notification is PropertyPageNotification)
{
this._sheetManager.ProcessNotificationMessage((PropertyPageNotification) notification);
}
else if (notification is DataChangeNotification)
{
DataChangeNotification notification3 = notification as DataChangeNotification;
SharedData data = null;
if (this._externalDataObjects.TryGetValue(notification3.DataObjectId, out data))
{
data.ProcessChangeNotification(notification3);
}
}
else
{
if (!(notification is ComponentAbandonedNotification))
{
throw new NotImplementedException();
}
ComponentAbandonedNotification notification4 = notification as ComponentAbandonedNotification;
this.RemoveMdiSharedData(notification4.Id);
}
}