41 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
50 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
60 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
61 static void show(
const iwin32_window& owner,
const xtd::string& find_string,
const xtd::string& replace_string, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) {show_replace_box(owner,
xtd::forms::find_event_handler(find_next),
xtd::forms::replace_event_handler(replace),
xtd::forms::replace_event_handler(replace_all), find_string, replace_string);}
71 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
72 static void show(
const iwin32_window& owner,
const xtd::string& find_string,
const xtd::string& replace_string,
const xtd::string& title, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) {show_replace_box(owner,
xtd::forms::find_event_handler(find_next),
xtd::forms::replace_event_handler(replace),
xtd::forms::replace_event_handler(replace_all), find_string, replace_string, title);}
83 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
84 static void show(
const iwin32_window& owner,
const xtd::string& find_string,
const xtd::string& replace_string,
const xtd::string& title,
bool match_case, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) {show_replace_box(owner,
xtd::forms::find_event_handler(find_next),
xtd::forms::replace_event_handler(replace),
xtd::forms::replace_event_handler(replace_all), find_string, replace_string, title, match_case);}
96 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
97 static void show(
const iwin32_window& owner,
const xtd::string& find_string,
const xtd::string& replace_string,
const xtd::string& title,
bool match_case,
bool whole_word, find_next_callback_t find_next, replace_callback_t replace, replace_all_callback_t replace_all) {show_replace_box(owner,
xtd::forms::find_event_handler(find_next),
xtd::forms::replace_event_handler(replace),
xtd::forms::replace_event_handler(replace_all), find_string, replace_string, title, match_case, whole_word);}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
delegate< void(object &sender, const replace_event_args &e)> replace_event_handler
Represents the method that will handle the xtd::forms::replace_dialog::replace event and the xtd::for...
Definition replace_event_handler.hpp:24
delegate< void(object &sender, const find_event_args &e)> find_event_handler
Represents the method that will handle the xtd::forms::find_dialog::find_next event of the xtd::forms...
Definition find_event_handler.hpp:24
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
std::unique_ptr< type_t > uptr
The xtd::uptr object is a unique pointer.
Definition uptr.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::forms::replace_dialog dialog.