#include <xtd/drawing/texts>
#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/button_images>
#include <xtd/forms/form>
namespace button_images_example {
class form1 :
public form {
public:
form1() {
text(
"Button images example");
client_size({310, 170});
button_ok.parent(*this);
button_ok.location({10, 10});
button_ok.width(90);
button_apply.parent(*this);
button_apply.location({110, 10});
button_apply.width(90);
button_cancel.parent(*this);
button_cancel.location({210, 10});
button_cancel.width(90);
button_yes.parent(*this);
button_yes.location({10, 50});
button_yes.width(90);
button_no.parent(*this);
button_no.location({110, 50});
button_no.width(90);
button_add.parent(*this);
button_add.location({10, 90});
button_add.width(90);
button_remove.parent(*this);
button_remove.location({110, 90});
button_remove.width(90);
button_previous.parent(*this);
button_previous.location({10, 130});
button_previous.width(90);
button_next.parent(*this);
button_next.location({110, 130});
button_next.width(90);
button_go_home.parent(*this);
button_go_home.location({210, 130});
button_go_home.width(90);
}
private:
};
}
auto main() -> int {
}
static xtd::string cancel()
Gets a system-defined text that has a string value of "&Cancel". This field is constant.
static xtd::string previous()
Gets a system-defined text that has a string value of "&Previous". 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 home()
Gets a system-defined text that has a string value of "&Home". 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 remove()
Gets a system-defined text that has a string value of "Remove". 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 next()
Gets a system-defined text that has a string value of "&Next". 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 ok()
Gets a system-defined text that has a string value of "&OK". This field is constant.
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