void StorePoperties ()
{
if (writeScope)
properties.Set ("Scope", comboboxScope.Active);
// properties.Set ("SearchPathRecursively", checkbuttonRecursively.Active);
// properties.Set ("UseFileMask", checkbuttonFileMask.Active);
properties.Set ("CaseSensitive", checkbuttonCaseSensitive.Active);
properties.Set ("WholeWordsOnly", checkbuttonWholeWordsOnly.Active);
properties.Set ("RegexSearch", checkbuttonRegexSearch.Active);
StoreHistory ("MonoDevelop.FindReplaceDialogs.FindHistory", comboboxentryFind);
if (replaceMode)
StoreHistory ("MonoDevelop.FindReplaceDialogs.ReplaceHistory", comboboxentryReplace);
if (searchentryFileMask != null)
properties.Set ("MonoDevelop.FindReplaceDialogs.FileMask", searchentryFileMask.Query);
// StoreHistory ("MonoDevelop.FindReplaceDialogs.PathHistory", comboboxentryPath);
//StoreHistory ("MonoDevelop.FindReplaceDialogs.FileMaskHistory", comboboxentryFileMask);
}