/// <summary> /// Handles event fired when a MessageBroswer starts retrieving messages from a queue. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MessageBrowser_BeforeMessageListLoaded(object sender, VisualizableProcessEventArgs e) { base.PrimaryObjects.ProcessVisualizer.ProcessStarting(e.Process); }
/// <summary> /// Handles event fired when a MessageBrowser has finished loading messages from a queue /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MessageBrowser_AfterMessageListLoaded(object sender, VisualizableProcessEventArgs e) { base.PrimaryObjects.ProcessVisualizer.ProcessCompleted(e.Process); }
/// <summary> /// Raises the AfterMessageListLoaded event. /// </summary> /// <param name="e">Event arguments</param> protected void OnAfterMessageListLoaded(VisualizableProcessEventArgs e) { try { if (_afterMessageListLoaded != null) _afterMessageListLoaded(this, e); } catch {} }