AcornPublishing_wpf/9780735619579-master/AppsCodeMarkup/Chapter 18/NotepadClone/FindDialog.cs
//-------------------------------------------
// FindDialog.cs (c) 2006 by Charles Petzold
//-------------------------------------------
using System;
using System.Windows;
using System.Windows.Controls;

namespace Petzold.NotepadClone
{
    class FindDialog : FindReplaceDialog
    {
        public FindDialog(Window owner): base(owner)
        {
            Title = "Find";

            // Hide some controls.
            lblReplace.Visibility = Visibility.Collapsed;
            txtboxReplace.Visibility = Visibility.Collapsed;
            btnReplace.Visibility = Visibility.Collapsed;
            btnAll.Visibility = Visibility.Collapsed;
        }
    }
}
