#include <xtd/forms/application>
#include <xtd/forms/horizontal_layout_panel>
#include <xtd/forms/form>
#include <xtd/forms/panel>
#include <xtd/drawing/colors>
#include <xtd/startup>
class form_main :
public form {
public:
form_main() {
text(
"Horizontal layout panel example");
layout_panel.parent(*this);
layout_panel.controls().push_back_range({light_pink_panel, light_green_panel, light_blue_panel, light_yellow_panel});
}
static auto main() {
}
private:
panel light_yellow_panel;
};
static xtd::drawing::color light_green() noexcept
A system-defined color object.
static xtd::drawing::color light_blue() noexcept
A system-defined color object.
static xtd::drawing::color light_pink() noexcept
A system-defined color object.
static xtd::drawing::color light_yellow() noexcept
A system-defined color object.
#define startup_(main_method)
Defines the entry point to be called when the application loads. Generally this is set either to the ...
Definition startup.hpp:167
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