/// <summary>
 /// Initializes a new instance of the ChildWindowSample class.
 /// </summary>
 public ChildWindowSample()
 {
     InitializeComponent();
     dcw = new DemoChildWindow();
     dcw.Closed += new EventHandler(Dcw_Closed);
     thumbs.ItemsSource = from p in Photograph.GetPhotographs()
                          orderby p.Name
                          select p;
     thumbs.SelectedIndex = 0;
 }
        /// <summary>
        /// Initializes a new instance of the ChildWindowSample class.
        /// </summary>
        public ChildWindowSample()
        {
            InitializeComponent();
            dcw                = new DemoChildWindow();
            dcw.Closed        += new EventHandler(Dcw_Closed);
            thumbs.ItemsSource = from p in Photograph.GetPhotographs()
                                 orderby p.Name
                                 select p;

            thumbs.SelectedIndex = 0;
        }