xtd 0.2.0
Loading...
Searching...
No Matches
hello_world_message_box2.cpp

The classic first application "Hello, World!" with xtd::forms::message_box control.

Windows

macOS

Gnome

#include <xtd/xtd>
using namespace xtd::forms;
auto main() -> int {
auto main_form = form::create("Hello world (message_box)");
auto message_button = button::create(main_form, "&Click me", {10, 10});
message_button.click += [] {message_box::show("Hello, World!");};
application::run(main_form);
}
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.hpp:12