public void ActionRefreshSessionTree() { Cursor.Current = Cursors.WaitCursor; ClearAll theClearAllEvent = new ClearAll(); theClearAllEvent._StoreSessionTreeState = true; Notify(this, theClearAllEvent); UpdateAll theUpdateAllEvent = new UpdateAll(); theUpdateAllEvent._RestoreSessionTreeState = true; Notify(this, theUpdateAllEvent); Cursor.Current = Cursors.Default; }
private void OnSessionRemovedEvent(object theSource, object theEvent) { SessionRemovedEvent theSessionRemovedEvent = (SessionRemovedEvent)theEvent; ClearAll theClearAllEvent = new ClearAll(); theClearAllEvent._StoreSessionTreeState = true; Notify( theClearAllEvent); UpdateAll theUpdateAllEvent = new UpdateAll(); theUpdateAllEvent._RestoreSessionTreeState = true; Notify(theUpdateAllEvent); }