#include <xtd/forms/application>
#include <xtd/forms/choice>
#include <xtd/forms/form>
#include <xtd/forms/picture_box>
#include "../properties/resources.hpp"
class form1 :
public form {
public:
form1() {
text(
"Picture box example");
client_size({300, 345});
choice1.parent(*this);
choice1.location({20, 20});
choice1.width(260);
choice1.selected_index(0);
choice1.selected_value_changed += [&] {
};
picture_box1.parent(*this);
picture_box1.location({20, 65});
picture_box1.size({260, 260});
picture_box1.image(properties::resources::logo());
}
private:
};
}
auto main() -> int {
}
type_t as(any_object &o)
Casts a type into another type.
Definition __as_any_object.hpp:59
The xtd::drawing::text namespace provides advanced GDI+ typography functionality.
Definition font_collection.hpp:14
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10