void Workspaces_ItemActivationChanged(object sender, Macro.Common.Utilities.ItemEventArgs <Workspace> e)
 {
     if (_workspaces.Items.Contains(e.Item))
     {
         _workspaces.Items.NotifyItemUpdated(e.Item);
     }
     LogActivation(e.Item, e.Item.DesktopWindow.Workspaces.ActiveWorkspace);
 }
 void Workspaces_ItemVisibilityChanged(object sender, Macro.Common.Utilities.ItemEventArgs <Workspace> e)
 {
     if (_workspaces.Items.Contains(e.Item))
     {
         _workspaces.Items.NotifyItemUpdated(e.Item);
     }
     LogVisiblility(e.Item);
 }
 void Shelves_ItemActivationChanged(object sender, Macro.Common.Utilities.ItemEventArgs <Shelf> e)
 {
     if (_shelves.Items.Contains(e.Item))
     {
         _shelves.Items.NotifyItemUpdated(e.Item);
     }
     LogActivation(e.Item, null);
 }
 void Windows_ItemActivationChanged(object sender, Macro.Common.Utilities.ItemEventArgs <DesktopWindow> e)
 {
     if (_windows.Items.Contains(e.Item))
     {
         _windows.Items.NotifyItemUpdated(e.Item);
     }
     LogActivation(e.Item, Application.DesktopWindows.ActiveWindow);
 }
 void Shelves_ItemVisibilityChanged(object sender, Macro.Common.Utilities.ItemEventArgs <Shelf> e)
 {
     if (_shelves.Items.Contains(e.Item))
     {
         _shelves.Items.NotifyItemUpdated(e.Item);
     }
     LogVisiblility(e.Item);
 }
 void Windows_ItemVisibilityChanged(object sender, Macro.Common.Utilities.ItemEventArgs <DesktopWindow> e)
 {
     if (_windows.Items.Contains(e.Item))
     {
         _windows.Items.NotifyItemUpdated(e.Item);
     }
     LogVisiblility(e.Item);
 }
 void Workspaces_ItemOpened(object sender, Macro.Common.Utilities.ItemEventArgs <Workspace> e)
 {
     _workspaces.Items.Add(e.Item);
     LogState(e.Item);
 }
 void Shelves_ItemOpened(object sender, Macro.Common.Utilities.ItemEventArgs <Shelf> e)
 {
     _shelves.Items.Add(e.Item);
     LogState(e.Item);
 }
 void Workspaces_ItemOpening(object sender, Macro.Common.Utilities.ItemEventArgs <Workspace> e)
 {
     LogState(e.Item);
 }
 void Shelves_ItemOpening(object sender, Macro.Common.Utilities.ItemEventArgs <Shelf> e)
 {
     LogState(e.Item);
 }
 void Windows_ItemOpened(object sender, Macro.Common.Utilities.ItemEventArgs <DesktopWindow> e)
 {
     LogState(e.Item);
 }
 void Windows_ItemOpening(object sender, Macro.Common.Utilities.ItemEventArgs <DesktopWindow> e)
 {
     SubscribeWindow(e.Item);
     _windows.Items.Add(e.Item);
     LogState(e.Item);
 }