private static bool IsInteresting(Windows.Window w, Windows.Window.PlacementType placement)
        {
            if (!w.Visible)
            {
                return(false);
            }

            switch (placement.ShowCommand)
            {
            //case Windows.Window.PlacementType.ShowCommandEnum.ShowMaximized:
            case Windows.Window.PlacementType.ShowCommandEnum.ShowMinimized:
                return(false);
            }

            return(true);
        }
 private static void Describe(Windows.Window w, Windows.Window.Info info, Windows.Window.PlacementType placement)
 {
     Trace.WriteLine(String.Format("{3:x8} : Text: '{0}', Rect: {1}, ShowCommand: {2}", w.Text,
                                   info.WindowRectangle, placement.ShowCommand, (int)w.Handle));
 }