#define DEBUG
#include <xtd/forms/application>
#include <xtd/forms/button>
#include <xtd/forms/debug_form>
#include <xtd/forms/debug_message_box>
#include <xtd/forms/form>
#include <xtd/startup>
class form_main :
public form {
public:
form_main() {
button_.text("Error...");
button_.click += [&] {
debug_message_box::show(*this, "An unknown process error occured.");
};
}
static auto main() {
application::run(form_main {});
}
private:
};
#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:175