39 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
48 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
58 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
59 static void show(
const iwin32_window& owner,
const xtd::ustring& find_string,
const xtd::ustring& 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);}
69 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
70 static void show(
const iwin32_window& owner,
const xtd::ustring& find_string,
const xtd::ustring& replace_string,
const xtd::ustring& 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);}
81 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
82 static void show(
const iwin32_window& owner,
const xtd::ustring& find_string,
const xtd::ustring& replace_string,
const xtd::ustring& 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);}
94 template<
typename find_next_callback_t,
typename replace_callback_t,
typename replace_all_callback_t>
95 static void show(
const iwin32_window& owner,
const xtd::ustring& find_string,
const xtd::ustring& replace_string,
const xtd::ustring& 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);}
101 static std::unique_ptr<xtd::forms::replace_dialog> dialog_;
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition: static.h:37
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.h:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
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.h:22
Contains xtd::forms::replace_dialog dialog.