|
|
@ -47,6 +47,7 @@ namespace SearchAndReplace |
|
|
|
|
|
|
|
|
|
|
|
ControlDictionary["findNextButton"].Click += FindNextButtonClicked; |
|
|
|
ControlDictionary["findNextButton"].Click += FindNextButtonClicked; |
|
|
|
ControlDictionary["lookInBrowseButton"].Click += LookInBrowseButtonClicked; |
|
|
|
ControlDictionary["lookInBrowseButton"].Click += LookInBrowseButtonClicked; |
|
|
|
|
|
|
|
((Form)Parent).AcceptButton = (Button)ControlDictionary["findNextButton"]; |
|
|
|
SetOptions(); |
|
|
|
SetOptions(); |
|
|
|
RightToLeftConverter.ReConvertRecursive(this); |
|
|
|
RightToLeftConverter.ReConvertRecursive(this); |
|
|
|
ResumeLayout(false); |
|
|
|
ResumeLayout(false); |
|
|
@ -70,6 +71,7 @@ namespace SearchAndReplace |
|
|
|
{ |
|
|
|
{ |
|
|
|
WritebackOptions(); |
|
|
|
WritebackOptions(); |
|
|
|
SearchReplaceManager.FindNext(); |
|
|
|
SearchReplaceManager.FindNext(); |
|
|
|
|
|
|
|
Focus(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void FindAllButtonClicked(object sender, EventArgs e) |
|
|
|
void FindAllButtonClicked(object sender, EventArgs e) |
|
|
@ -88,6 +90,7 @@ namespace SearchAndReplace |
|
|
|
{ |
|
|
|
{ |
|
|
|
WritebackOptions(); |
|
|
|
WritebackOptions(); |
|
|
|
SearchReplaceManager.Replace(); |
|
|
|
SearchReplaceManager.Replace(); |
|
|
|
|
|
|
|
Focus(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void WritebackOptions() |
|
|
|
void WritebackOptions() |
|
|
|