public winFindAndReplace(RichTextBox ctl)
        {
            InitializeComponent();
            rtb = ctl;
            manager = new FindAndReplaceManager(rtb.Document);

            searchStringBox.ItemsSource =SuperRichTextBoxResourses.searchStrings;
            replaceStringBox.ItemsSource =SuperRichTextBoxResourses.replaceStrings;
        }
        public winFindAndReplace(RichTextBox ctl)
        {
            InitializeComponent();
            rtb     = ctl;
            manager = new FindAndReplaceManager(rtb.Document);

            searchStringBox.ItemsSource  = SuperRichTextBoxResourses.searchStrings;
            replaceStringBox.ItemsSource = SuperRichTextBoxResourses.replaceStrings;
        }