#include <xtd/drawing/colors>
#include <xtd/forms/application>
#include <xtd/forms/control>
#include <xtd/forms/form>
namespace control_example {
class form1 :
public form {
public:
form1() {
control1.parent(*this);
control1.location({50, 50});
control1.size({100, 50});
control1.click += [&] {
};
}
private:
};
}
auto main() -> int {
}
static xtd::drawing::color orange_red() noexcept
A system-defined color object.
static xtd::drawing::color spring_green() noexcept
A system-defined color object.
@ control
The left or right CTRL modifier key.
Definition console_modifiers.hpp:28
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