#include <xtd/drawing/texts>
#include <xtd/forms/application>
#include <xtd/forms/form>
#include <xtd/forms/list_box>
#include <xtd/forms/message_box>
class form1 :
public form {
public:
form1() {
client_size({200, 400});
*this << list_box_texts;
list_box_texts.items().push_back_range({
texts::abort(),
texts::about(),
texts::actual_size(),
texts::add(),
texts::align_left(),
texts::align_right(),
texts::alignment(),
texts::apply(),
texts::ascending(),
texts::back(),
texts::bold(),
texts::bottom(),
texts::cancel(),
texts::cdrom(),
texts::centered(),
texts::clear(),
texts::close(),
texts::color(),
texts::contents(),
texts::convert(),
texts::copy(),
texts::customize(),
texts::cut(),
texts::del(),
texts::descending(),
texts::down(),
texts::edit(),
texts::execute(),
texts::file(),
texts::find(),
texts::first(),
texts::floppy(),
texts::font(),
texts::forward(),
texts::harddisk(),
texts::help(),
texts::home(),
texts::ignore(),
texts::indent(),
texts::index(),
texts::info(),
texts::italic(),
texts::jump_to(),
texts::justified(),
texts::last(),
texts::network(),
texts::new_(),
texts::no(),
texts::ok(),
texts::open(),
texts::options(),
texts::paste(),
texts::preferences(),
texts::print(),
texts::print_preview(),
texts::properties(),
texts::quit(),
texts::redo(),
texts::refresh(),
texts::remove(),
texts::replace(),
texts::retry(),
texts::revert_to_saved(),
texts::save(),
texts::save_as(),
texts::search(),
texts::select_all(),
texts::spell_check(),
texts::stop(),
texts::strikeout(),
texts::tools(),
texts::top(),
texts::undelete(),
texts::underline(),
texts::undo(),
texts::unindent(),
texts::up(),
texts::view(),
texts::yes(),
texts::zoom_in(),
texts::zoom_out(),
texts::zoom_to_fit()});
}
private:
list_box list_box_texts;
};
auto main() -> int {
try {
}
catch (
const std::exception&
e) {
message_box::show(string::format(
"Make sure specified locale is installed on your system :\n\n{}",
e.what()),
"Exception");
return -1;
}
}
static xtd::string descending()
Gets a system-defined text that has a string value of "&Descending". This field is constant.
static xtd::string help()
Gets a system-defined text that has a string value of "&Help". This field is constant.
static xtd::string cancel()
Gets a system-defined text that has a string value of "&Cancel". This field is constant.
static xtd::string undo()
Gets a system-defined text that has a string value of "&Undo". This field is constant.
static xtd::string new_()
Gets a system-defined text that has a string value of "&New". This field is constant.
static xtd::string undelete()
Gets a system-defined text that has a string value of "Undelete". This field is constant.
static xtd::string align_left()
Gets a system-defined text that has a string value of "Align Left". This field is constant.
static xtd::string indent()
Gets a system-defined text that has a string value of "Indent". This field is constant.
static xtd::string save_as()
Gets a system-defined text that has a string value of "Save &As...". This field is constant.
static xtd::string ignore()
Gets a system-defined text that has a string value of "&Ignore". This field is constant.
static xtd::string execute()
Gets a system-defined text that has a string value of "&Execute". This field is constant.
static xtd::string yes()
Gets a system-defined text that has a string value of "&Yes". This field is constant.
static xtd::string refresh()
Gets a system-defined text that has a string value of "Refresh". This field is constant.
static xtd::string print_preview()
Gets a system-defined text that has a string value of "Print Re&view". This field is constant.
static xtd::string customize()
Gets a system-defined text that has a string value of "&Customize". This field is constant.
static xtd::string redo()
Gets a system-defined text that has a string value of "&Redo". This field is constant.
static xtd::string find()
Gets a system-defined text that has a string value of "&Find...". This field is constant.
static xtd::string index()
Gets a system-defined text that has a string value of "&Index". This field is constant.
static xtd::string alignment()
Gets a system-defined text that has a string value of "Alignment". This field is constant.
static xtd::string edit()
Gets a system-defined text that has a string value of "&Edit". This field is constant.
static xtd::string replace()
Gets a system-defined text that has a string value of "Rep&lace". This field is constant.
static xtd::string actual_size()
Gets a system-defined text that has a string value of "&Actual Size". This field is constant.
static xtd::string print()
Gets a system-defined text that has a string value of "&Print...". This field is constant.
static xtd::string align_right()
Gets a system-defined text that has a string value of "Align Right". This field is constant.
static xtd::string zoom_in()
Gets a system-defined text that has a string value of "Zoom &In". This field is constant.
static xtd::string home()
Gets a system-defined text that has a string value of "&Home". This field is constant.
static xtd::string save()
Gets a system-defined text that has a string value of "&Save". This field is constant.
static xtd::string close()
Gets a system-defined text that has a string value of "&Close". This field is constant.
static xtd::string cdrom()
Gets a system-defined text that has a string value of "&CD-Rom". This field is constant.
static xtd::string spell_check()
Gets a system-defined text that has a string value of "&Spell Check". This field is constant.
static xtd::string cut()
Gets a system-defined text that has a string value of "Cu&t". This field is constant.
static xtd::string ascending()
Gets a system-defined text that has a string value of "&Ascending". This field is constant.
static xtd::string unindent()
Gets a system-defined text that has a string value of "Unindent". This field is constant.
static xtd::string first()
Gets a system-defined text that has a string value of "&First". This field is constant.
static xtd::string italic()
Gets a system-defined text that has a string value of "&Italic". This field is constant.
static xtd::string quit()
Gets a system-defined text that has a string value of "&Quit". This field is constant.
static xtd::string floppy()
Gets a system-defined text that has a string value of "&Floppy". This field is constant.
static xtd::string network()
Gets a system-defined text that has a string value of "&Network". This field is constant.
static xtd::string retry()
Gets a system-defined text that has a string value of "&Retry". This field is constant.
static xtd::string zoom_out()
Gets a system-defined text that has a string value of "Zoom &Out". This field is constant.
static xtd::string preferences()
Gets a system-defined text that has a string value of "&Preference". This field is constant.
static xtd::string color()
Gets a system-defined text that has a string value of "&Color". This field is constant.
static xtd::string no()
Gets a system-defined text that has a string value of "&No". This field is constant.
static xtd::string forward()
Gets a system-defined text that has a string value of "&Forward". This field is constant.
static xtd::string file()
Gets a system-defined text that has a string value of "&File". This field is constant.
static xtd::string search()
Gets a system-defined text that has a string value of "&Search". This field is constant.
static xtd::string del()
Gets a system-defined text that has a string value of "&Delete". This field is constant.
static xtd::string revert_to_saved()
Gets a system-defined text that has a string value of "Revert to Saved". This field is constant.
static xtd::string abort()
Gets a system-defined text that has a string value of "&Abort". This field is constant.
static xtd::string remove()
Gets a system-defined text that has a string value of "Remove". This field is constant.
static xtd::string bold()
Gets a system-defined text that has a string value of "&Bold". This field is constant.
static xtd::string options()
Gets a system-defined text that has a string value of "&Options". This field is constant.
static xtd::string copy()
Gets a system-defined text that has a string value of "&Copy". This field is constant.
static xtd::string add()
Gets a system-defined text that has a string value of "Add". This field is constant.
static xtd::string jump_to()
Gets a system-defined text that has a string value of "&Jump to". This field is constant.
static xtd::string bottom()
Gets a system-defined text that has a string value of "&Bottom". This field is constant.
static xtd::string properties()
Gets a system-defined text that has a string value of "&Properties". This field is constant.
static xtd::string zoom_to_fit()
Gets a system-defined text that has a string value of "Zoom to &Fit". This field is constant.
static xtd::string apply()
Gets a system-defined text that has a string value of "&Apply". This field is constant.
static xtd::string underline()
Gets a system-defined text that has a string value of "&Underline". This field is constant.
static xtd::string tools()
Gets a system-defined text that has a string value of "&Tools". This field is constant.
static xtd::string open()
Gets a system-defined text that has a string value of "&Open...". This field is constant.
static xtd::string convert()
Gets a system-defined text that has a string value of "&Convert". This field is constant.
static xtd::string paste()
Gets a system-defined text that has a string value of "&Paste". This field is constant.
static xtd::string top()
Gets a system-defined text that has a string value of "&Top". This field is constant.
static xtd::string view()
Gets a system-defined text that has a string value of "&View". This field is constant.
static xtd::string info()
Gets a system-defined text that has a string value of "&Info". This field is constant.
static xtd::string contents()
Gets a system-defined text that has a string value of "&Contents". This field is constant.
static xtd::string stop()
Gets a system-defined text that has a string value of "&Stop". This field is constant.
static xtd::string select_all()
Gets a system-defined text that has a string value of "Select &All". This field is constant.
static xtd::string clear()
Gets a system-defined text that has a string value of "&Clear". This field is constant.
static xtd::string centered()
Gets a system-defined text that has a string value of "Centered". This field is constant.
static xtd::string down()
Gets a system-defined text that has a string value of "&Down". This field is constant.
static xtd::string ok()
Gets a system-defined text that has a string value of "&OK". This field is constant.
static xtd::string strikeout()
Gets a system-defined text that has a string value of "&Strikeout". This field is constant.
static xtd::string font()
Gets a system-defined text that has a string value of "&Font". This field is constant.
static xtd::string last()
Gets a system-defined text that has a string value of "&Last". This field is constant.
static xtd::string justified()
Gets a system-defined text that has a string value of "Justified". This field is constant.
static xtd::string back()
Gets a system-defined text that has a string value of "&Back". This field is constant.
static xtd::string up()
Gets a system-defined text that has a string value of "&Up". This field is constant.
static xtd::string about()
Gets a system-defined text that has a string value of "&About". This field is constant.
static xtd::string harddisk()
Gets a system-defined text that has a string value of "&Harddisk". This field is constant.
@ e
The E key.
Definition console_key.hpp:96
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
Contains classes that represent ASCII and Unicode character encodings; abstract base classes for conv...
Definition basic_string_builder.hpp:16
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8