Shows controls and dialogs appearances.
#include <xtd/xtd>
auto main() -> int {
main_menu main_menu1 = forms::main_menu::create_standard_items([&](
object & sender,
const event_args & e) {
if (as<menu_item&>(sender).text() == texts::exit()) application::exit();
});
form_main.
size({1024, 768});
form_main.text("Demo forms");
form_main.menu(main_menu1);
tab_control_main.
parent(form_main);
tab_control_main.
anchor(anchor_styles::left | anchor_styles::top | anchor_styles::right | anchor_styles::bottom);
tab_page_labels.
parent(tab_control_main);
tab_page_labels.
text(
"Labels");
label_label.
parent(tab_page_labels);
label_label.
text(
"xtd::forms::label");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1label.html");
};
default_label.
parent(tab_page_labels);
default_label.
text(
"Default label");
label border_fixed_single_label;
border_fixed_single_label.
border_style(forms::border_style::fixed_single);
border_fixed_single_label.
location({140, 40});
border_fixed_single_label.
parent(tab_page_labels);
border_fixed_single_label.
text(
"Single border");
border_fixed_single_label.
text_align(content_alignment::middle_left);
label border_fixed_3d_label;
border_fixed_3d_label.
border_style(forms::border_style::fixed_3d);
border_fixed_3d_label.
location({250, 40});
border_fixed_3d_label.
parent(tab_page_labels);
border_fixed_3d_label.
text(
"3d border");
border_fixed_3d_label.
text_align(content_alignment::middle_left);
disabled_label.
parent(tab_page_labels);
disabled_label.
text(
"Disabled label");
colored_label.
parent(tab_page_labels);
colored_label.
text(
"Colored label");
image_label.
parent(tab_page_labels);
image_label.
text(
"Home");
multiline_label.
parent(tab_page_labels);
multiline_label.
text(
"Multiline label\nwith text alignment middle center");
link_label_label.
parent(tab_page_labels);
link_label_label.
text(
"xtd::forms::link_label");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1link__label.html");
};
default_link_label.
parent(tab_page_labels);
default_link_label.
text(
"Default label");
border_fixed_single_link_label.
border_style(forms::border_style::fixed_single);
border_fixed_single_link_label.
location({140, 130});
border_fixed_single_link_label.
parent(tab_page_labels);
border_fixed_single_link_label.
text(
"Single border");
border_fixed_single_link_label.
text_align(content_alignment::middle_left);
border_fixed_3d_link_label.
border_style(forms::border_style::fixed_3d);
border_fixed_3d_link_label.
location({250, 130});
border_fixed_3d_link_label.
parent(tab_page_labels);
border_fixed_3d_link_label.
text(
"3d border");
border_fixed_3d_link_label.
text_align(content_alignment::middle_left);
disabled_link_label.
enabled(
false);
disabled_link_label.
location({360, 130});
disabled_link_label.
parent(tab_page_labels);
disabled_link_label.
text(
"Disabled link");
colored_link_label.
location({470, 130});
colored_link_label.
parent(tab_page_labels);
colored_link_label.
text(
"Colored link");
multiline_link_label.
location({580, 130});
multiline_link_label.
parent(tab_page_labels);
multiline_link_label.
text(
"Multi link label");
lcd_label_label.
parent(tab_page_labels);
lcd_label_label.
text(
"xtd::forms::lcd_label");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1lcd__label.html");
};
default_lcd_label.
parent(tab_page_labels);
default_lcd_label.
text(
"1234567890");
dot_matrix_lcd_label.
location({180, 220});
dot_matrix_lcd_label.
parent(tab_page_labels);
dot_matrix_lcd_label.
text(
"ABCDEFG");
dot_matrix_lcd_label.
lcd_style(forms::lcd_style::dot_matrix_display);
disabled_lcd_label.
location({350, 220});
disabled_lcd_label.
parent(tab_page_labels);
disabled_lcd_label.
text(
"1234567890");
colored_lcd_label.
parent(tab_page_labels);
colored_lcd_label.
text(
"1234567890");
tab_page_texts.
parent(tab_control_main);
tab_page_texts.
text(
"Texts");
text_box_label.
parent(tab_page_texts);
text_box_label.
text(
"xtd::forms::text_box");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1text__box.html");
};
default_text_box.
parent(tab_page_texts);
default_text_box.
text(
"Default text");
read_only_text_box.
parent(tab_page_texts);
read_only_text_box.
text(
"Read only text");
system_password_text_box.
location({250, 40});
system_password_text_box.
parent(tab_page_texts);
system_password_text_box.
text(
"Password");
colored_text_box.
parent(tab_page_texts);
colored_text_box.
text(
"Colored");
disabled_text_box.
parent(tab_page_texts);
disabled_text_box.
text(
"Disabled");
multiline_text_box.
size({540, 200});
multiline_text_box.
parent(tab_page_texts);
multiline_text_box.
text(
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.\n\nUt velit mauris, egestas sed, gravida nec, ornare ut, mi. Aenean ut orci vel massa suscipit pulvinar. Nulla sollicitudin. Fusce varius, ligula non tempus aliquam, nunc turpis ullamcorper nibh, in tempus sapien eros vitae ligula. Pellentesque rhoncus nunc et augue. Integer id felis. Curabitur aliquet pellentesque diam. Integer quis metus vitae elit lobortis egestas. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi vel erat non mauris convallis vehicula. Nulla et sapien. Integer tortor tellus, aliquam faucibus, convallis id, congue eu, quam. Mauris ullamcorper felis vitae erat. Proin feugiat, augue non elementum posuere, metus purus iaculis lectus, et tristique ligula justo vitae magna.\n\nAliquam convallis sollicitudin purus. Praesent aliquam, enim at fermentum mollis, ligula massa adipiscing nisl, ac euismod nibh nisl eu lectus. Fusce vulputate sem at sapien. Vivamus leo. Aliquam euismod libero eu enim. Nulla nec felis sed leo placerat imperdiet. Aenean suscipit nulla in justo. Suspendisse cursus rutrum augue. Nulla tincidunt tincidunt mi. Curabitur iaculis, lorem vel rhoncus faucibus, felis magna fermentum augue, et ultricies lacus lorem varius purus. Curabitur eu amet.\n");
tab_page_buttons.
parent(tab_control_main);
tab_page_buttons.
text(
"Buttons");
button_label.
parent(tab_page_buttons);
button_label.
text(
"xtd::forms::button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1button.html");
};
default_button.
parent(tab_page_buttons);
default_button.
text(
"Button");
flat_button.
parent(tab_page_buttons);
flat_button.
text(
"Flat");
popup_button.
parent(tab_page_buttons);
popup_button.
text(
"Popup");
image_button.
image(button_images::from_name(
"folder-home"));
image_button.
image_align(content_alignment::middle_left);
image_button.
parent(tab_page_buttons);
image_button.
text(
"Home");
colored_button.
parent(tab_page_buttons);
colored_button.
text(
"Colored");
disabled_button.
parent(tab_page_buttons);
disabled_button.
text(
"Disabled");
toggle_button_label.
location({10, 100});
toggle_button_label.
parent(tab_page_buttons);
toggle_button_label.
text(
"xtd::forms::toggle_button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1toggle__button.html");
};
default_toggle_button.
location({30, 130});
default_toggle_button.
parent(tab_page_buttons);
default_toggle_button.
text(
"Toggle");
flat_toggle_button.
location({150, 130});
flat_toggle_button.
parent(tab_page_buttons);
flat_toggle_button.
text(
"Flat");
popup_toggle_button.
location({270, 130});
popup_toggle_button.
parent(tab_page_buttons);
popup_toggle_button.
text(
"Popup");
image_toggle_button.
location({390, 130});
image_toggle_button.
image(button_images::from_name(
"folder-home"));
image_toggle_button.
image_align(content_alignment::middle_left);
image_toggle_button.
parent(tab_page_buttons);
image_toggle_button.
text(
"Home");
colored_toggle_button.
location({510, 130});
colored_toggle_button.
parent(tab_page_buttons);
colored_toggle_button.
text(
"Colored");
disabled_toggle_button.
enabled(
false);
disabled_toggle_button.
location({630, 130});
disabled_toggle_button.
parent(tab_page_buttons);
disabled_toggle_button.
text(
"Disabled");
swicth_button_label.
location({10, 190});
swicth_button_label.
parent(tab_page_buttons);
swicth_button_label.
text(
"xtd::forms::switch_button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1switch__button.html");
};
default_swicth_button.
location({30, 220});
default_swicth_button.
parent(tab_page_buttons);
default_swicth_button.
checked(
true);
rectangle_swicth_button.
location({120, 220});
rectangle_swicth_button.
parent(tab_page_buttons);
rectangle_swicth_button.
checked(
true);
rectangle_swicth_button.
rounded(
false);
colored_swicth_button.
location({210, 220});
colored_swicth_button.
parent(tab_page_buttons);
colored_swicth_button.
checked(
true);
colored_rectangle_swicth_button.
slider_color(color::yellow);
colored_rectangle_swicth_button.
fore_color(color::white);
colored_rectangle_swicth_button.
location({300, 220});
colored_rectangle_swicth_button.
parent(tab_page_buttons);
colored_rectangle_swicth_button.
rounded(
false);
colored_rectangle_swicth_button.
checked(
true);
colored_rectangle_swicth_button.
show_text(
true);
disabled_swicth_button.
location({390, 220});
disabled_swicth_button.
parent(tab_page_buttons);
disabled_swicth_button.
enabled(
false);
disabled_rectangle_swicth_button.
location({480, 220});
disabled_rectangle_swicth_button.
parent(tab_page_buttons);
disabled_rectangle_swicth_button.
rounded(
false);
disabled_rectangle_swicth_button.
enabled(
false);
check_box_label.
parent(tab_page_buttons);
check_box_label.
text(
"xtd::forms::check_box");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1check__box.html");
};
default_check_box.
parent(tab_page_buttons);
default_check_box.
text(
"Check box");
check_box_three_state.
check_state(forms::check_state::indeterminate);
check_box_three_state.
location({140, 310});
check_box_three_state.
parent(tab_page_buttons);
check_box_three_state.
text(
"Three state");
check_box_button.
appearance(forms::appearance::button);
check_box_button.
parent(tab_page_buttons);
check_box_button.
text(
"button");
image_check_box.
image(button_images::from_name(
"folder-home"));
image_check_box.
image_align(content_alignment::middle_left);
image_check_box.
parent(tab_page_buttons);
image_check_box.
text(
"Home");
image_check_box.
text_align(content_alignment::middle_center);
colored_check_box.
parent(tab_page_buttons);
colored_check_box.
text(
"Colored");
check_box_disabled.
location({580, 310});
check_box_disabled.
parent(tab_page_buttons);
check_box_disabled.
text(
"Disabled");
check_box_button_disabled.
appearance(forms::appearance::button);
check_box_button_disabled.
enabled(
false);
check_box_button_disabled.
location({690, 310});
check_box_button_disabled.
parent(tab_page_buttons);
check_box_button_disabled.
text(
"button");
radio_button_label.
parent(tab_page_buttons);
radio_button_label.
text(
"xtd::forms::radio_button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1radio__button.html");
};
radio_button_one.
parent(tab_page_buttons);
radio_button_one.
text(
"radio 1");
radio_button_two.
parent(tab_page_buttons);
radio_button_two.
text(
"radio 2");
radio_button_button.
appearance(forms::appearance::button);
radio_button_button.
location({250, 400});
radio_button_button.
parent(tab_page_buttons);
radio_button_button.
text(
"radio 3");
image_radio_button.
location({360, 400});
image_radio_button.
image(button_images::from_name(
"folder-home"));
image_radio_button.
image_align(content_alignment::middle_left);
image_radio_button.
parent(tab_page_buttons);
image_radio_button.
text(
"Home");
image_radio_button.
text_align(content_alignment::middle_center);
colored_radio_button.
location({470, 400});
colored_radio_button.
parent(tab_page_buttons);
colored_radio_button.
text(
"Colored");
radio_button_disabled.
enabled(
false);
radio_button_disabled.
location({580, 400});
radio_button_disabled.
parent(tab_page_buttons);
radio_button_disabled.
text(
"Disabled");
radio_button_button_disabled.
enabled(
false);
radio_button_button_disabled.
appearance(forms::appearance::button);
radio_button_button_disabled.
location({690, 400});
radio_button_button_disabled.
parent(tab_page_buttons);
radio_button_button_disabled.
text(
"Disabled");
command_link_button_label.
location({10, 460});
command_link_button_label.
parent(tab_page_buttons);
command_link_button_label.
text(
"xtd::forms::command_link_button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1link__label.html");
};
default_command_link_button.
location({30, 490});
default_command_link_button.
parent(tab_page_buttons);
default_command_link_button.
text(
"Command link\nButton");
image_command_link_button.
location({250, 490});
image_command_link_button.
parent(tab_page_buttons);
image_command_link_button.
text(
"Home\nThe user home folder");
image_command_link_button.
image(button_images::from_name(
"folder-home"));
colored_command_link_button.
location({470, 490});
colored_command_link_button.
back_color(color::blue);
colored_command_link_button.
fore_color(color::yellow);
colored_command_link_button.
parent(tab_page_buttons);
colored_command_link_button.
text(
"Colored\nCommand link button");
disabled_command_link_button.
location({690, 490});
disabled_command_link_button.
parent(tab_page_buttons);
disabled_command_link_button.
text(
"Disabled\nCommand link button");
disabled_command_link_button.
enabled(
false);
up_down_button_label.
location({10, 570});
up_down_button_label.
parent(tab_page_buttons);
up_down_button_label.
text(
"xtd::forms::up_down_button");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1up__down__button.html");
};
default_up_down_button.
location({30, 600});
default_up_down_button.
parent(tab_page_buttons);
colored_up_down_button.
location({120, 600});
colored_up_down_button.
parent(tab_page_buttons);
disabled_up_down_button.
location({210, 600});
disabled_up_down_button.
parent(tab_page_buttons);
disabled_up_down_button.
enabled(
false);
tab_page_pickers.
parent(tab_control_main);
tab_page_pickers.
text(
"Pickers");
color_picker_label.
parent(tab_page_pickers);
color_picker_label.
text(
"xtd::forms::color_picker");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1color__picker.html");
};
default_color_picker.
location({30, 40});
default_color_picker.
parent(tab_page_pickers);
colored_color_picker.
location({140, 40});
colored_color_picker.
parent(tab_page_pickers);
disabled_color_picker.
enabled(
false);
disabled_color_picker.
location({250, 40});
disabled_color_picker.
parent(tab_page_pickers);
tab_page_sliders.
parent(tab_control_main);
tab_page_sliders.
text(
"Sliders");
tab_page_lists.
parent(tab_control_main);
tab_page_lists.
text(
"Lists");
list_box_label.
parent(tab_page_lists);
list_box_label.
text(
"xtd::forms::list_box");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1list__box.html");
};
list_box_items.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
list_box_items.
parent(tab_page_lists);
list_box_items.
size({200, 300});
colored_list_box.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
colored_list_box.
parent(tab_page_lists);
colored_list_box.
size({200, 300});
disabled_list_box.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
disabled_list_box.
parent(tab_page_lists);
disabled_list_box.
size({200, 300});
checked_list_box_label.
location({10, 350});
checked_list_box_label.
parent(tab_page_lists);
checked_list_box_label.
text(
"xtd::forms::checked_list_box");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1checked__list__box.html");
};
default_checked_list_box.
items().
push_back_range({{
"Item 1",
true}, {
"Item 2",
true}, {
"Item 3",
false}, {
"Item 4",
false}, {
"Item 5",
true}, {
"Item 6",
true}, {
"Item 7",
false}, {
"Item 8",
false}, {
"Item 9",
true}, {
"Item 10",
true}});
default_checked_list_box.
location({30, 380});
default_checked_list_box.
parent(tab_page_lists);
default_checked_list_box.
size({200, 300});
colored_checked_list_box.
fore_color(color::yellow);
colored_checked_list_box.
items().
push_back_range({{
"Item 1",
true}, {
"Item 2",
true}, {
"Item 3",
false}, {
"Item 4",
false}, {
"Item 5",
true}, {
"Item 6",
true}, {
"Item 7",
false}, {
"Item 8",
false}, {
"Item 9",
true}, {
"Item 10",
true}});
colored_checked_list_box.
location({240, 380});
colored_checked_list_box.
parent(tab_page_lists);
colored_checked_list_box.
size({200, 300});
disabled_checked_list_box.
enabled(
false);
disabled_checked_list_box.
items().
push_back_range({{
"Item 1",
true}, {
"Item 2",
true}, {
"Item 3",
false}, {
"Item 4",
false}, {
"Item 5",
true}, {
"Item 6",
true}, {
"Item 7",
false}, {
"Item 8",
false}, {
"Item 9",
true}, {
"Item 10",
true}});
disabled_checked_list_box.
location({450, 380});
disabled_checked_list_box.
parent(tab_page_lists);
disabled_checked_list_box.
size({200, 300});
combo_box_label.
parent(tab_page_lists);
combo_box_label.
text(
"xtd::forms::combo_box");
process::start("https://gammasoft71.github.io/xtd/reference_guides/latest/classxtd_1_1forms_1_1combo__box.html");
};
combo_box_drop_down.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
combo_box_drop_down.
location({30, 720});
combo_box_drop_down.
parent(tab_page_lists);
combo_box_drop_down.
width(200);
combo_box_drop_down_list.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
combo_box_drop_down_list.
location({240, 720});
combo_box_drop_down_list.
parent(tab_page_lists);
combo_box_drop_down_list.
width(200);
combo_box_simple.
items().
push_back_range({
"Item 1",
"Item 2",
"Item 3",
"Item 4",
"Item 5",
"Item 6",
"Item 7",
"Item 8",
"Item 9",
"Item 10"});
combo_box_simple.
parent(tab_page_lists);
combo_box_simple.
width(200);
tab_page_misc.
parent(tab_control_main);
tab_page_misc.
text(
"Misc");
tab_page_containers.
parent(tab_control_main);
tab_page_containers.
text(
"Containers");
group_box1.
parent(tab_page_containers);
group_box1.
size({400, 250});
group_box1.
text(
"group_box");
group_box2.
parent(tab_page_containers);
group_box2.
size({400, 250});
panel1.
parent(tab_page_containers);
panel2.
parent(tab_page_containers);
panel3.
parent(tab_page_containers);
tab_control_top.
parent(tab_page_containers);
tab_control_top.
size({400, 250});
tab_page_top1.
parent(tab_control_top);
tab_page_top1.
text(
"Page 1");
tab_page_top2.
parent(tab_control_top);
tab_page_top2.
text(
"Page 2");
tab_page_top3.
parent(tab_control_top);
tab_page_top3.
text(
"Page 3");
tab_control_right.
alignment(tab_alignment::right);
tab_control_right.
parent(tab_page_containers);
tab_control_right.
size({400, 250});
tab_page_right1.
parent(tab_control_right);
tab_page_right1.
text(
"Page 1");
tab_page_right2.
parent(tab_control_right);
tab_page_right2.
text(
"Page 2");
tab_page_right3.
parent(tab_control_right);
tab_page_right3.
text(
"PAge 3");
tab_control_bottom.
alignment(tab_alignment::bottom);
tab_control_bottom.
parent(tab_page_containers);
tab_control_bottom.
size({400, 250});
tab_page_bottom1.
parent(tab_control_bottom);
tab_page_bottom1.
text(
"Page 1");
tab_page_bottom2.
parent(tab_control_bottom);
tab_page_bottom2.
text(
"Page 2");
tab_page_bottom3.
parent(tab_control_bottom);
tab_page_bottom3.
text(
"Page 3");
tab_control_left.
alignment(tab_alignment::left);
tab_control_left.
parent(tab_page_containers);
tab_control_left.
size({400, 250});
tab_page_left1.
parent(tab_control_left);
tab_page_left1.
text(
"Page 1");
tab_page_left2.
parent(tab_control_left);
tab_page_left2.
text(
"Page 2");
tab_page_left3.
parent(tab_control_left);
tab_page_left3.
text(
"Page 3");
tab_page_dialogs.
parent(tab_control_main);
tab_page_dialogs.
text(
"Dialogs");
panel_color.
border_style(forms::border_style::fixed_single);
panel_color.
parent(tab_page_dialogs);
panel_color.
size({400, 250});
panel_color.
click += [&] {
};
panel_font.
parent(tab_page_dialogs);
panel_font.
size({400, 250});
label_font.
dock(dock_style::fill);
label_font.
parent(panel_font);
label_font.
text(u8
"The quick brown fox jumps over the lazy dog.\n"
u8"THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.\n"
u8"0123456789+-*/%~^&|=<>≤≥±÷≠{{[()]}},;:.?¿!¡\n"
u8"àçéèêëïî@@°_#§$ù£€æœø𵩮∞\\\"'\n"
u8"\u0400\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040a\u040b\u040c\u040d\u040e\u040f\n"
u8"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\n"
u8"\u4ea0\u4ea1\u4ea2\u4ea3\u4ea4\u4ea5\u4ea6\u4ea7\u4ea8\u4ea9\u4eaa\u4eab\u4eac\u4ead\u4eae\u4eaf\n"
u8"\u4eb0\u4eb1\u4eb2\u4eb3\u4eb4\u4eb5\u4eb6\u4eb7\u4eb8\u4eb9\u4eba\u4ebb\u4ebc\u4ebd\u4ebe\u4ebf\n"
u8"\U0001F428");
label_font.
click += [&] {
}
};
application::run(form_main);
}
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.hpp:18
Represents the menu structure of a form.
Definition main_menu.hpp:41
Represents a single tab page in a tab_control.
Definition tab_page.hpp:33
control & text(const xtd::string &text) override
Sets the text associated with this control.
control & parent(const control &parent) override
Sets the parent container of the control.
scrollable_control & auto_scroll(bool value) override
Sets a value indicating whether the container enables the user to scroll to any controls placed outsi...
virtual bool read_only() const noexcept
Gets a value indicating whether text in the text box is read-only.
virtual bool multiline() const noexcept
Gets a value indicating whether this is a multiline text box control.
Represents a standard Windows text box.
Definition text_box.hpp:31
virtual bool use_system_password_char() const noexcept
Gets a value indicating whether the text in the TextBox control should appear as the default password...
const xtd::string & text() const noexcept override
Gets the text associated with this control.
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10