Shows how to use xtd::event class.
#include <xtd/as>
#include <xtd/console>
#include <xtd/environment>
#include <xtd/event>
#include <xtd/event_handler>
#include <xtd/string>
public:
if (text_ != text) {
text_ = text;
}
}
protected:
private:
};
class button : public control {
public:
button() = default;
protected:
};
auto main() -> int {
};
};
}
Represents text as a sequence of character units.
Definition basic_string.h:79
static std::ostream out
Gets the standard output stream. A std::basic_ostream<char_t> that represents the standard output str...
Definition console.h:52
static xtd::string new_line() noexcept
Gets the newline string defined for this environment.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
static const event_args empty
Provides a value to use with events that do not have event data.
Definition event_args.h:25
Represents an event.
Definition event.h:21
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
xtd::forms::style_sheets::control button
The buttton data allows you to specify the box of a button control.
Definition button.h:25
@ control
The left or right CTRL modifier key.