#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/button_images>
#include <xtd/forms/form>
#include <xtd/forms/system_texts>
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 {
}