demonstrates the use of form event.
#include <xtd/forms/application>
#include <xtd/forms/form>
auto main() -> int {
mouse_location =
e.location();
};
};
if (mouse_location !=
point::empty) main_form.location(main_form.location() +
e.location() - mouse_location);
};
}
@ e
The E key.
Definition console_key.hpp:96
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
static const point empty
Represents a xtd::drawing::point that has xtd::drawing::point::x and xtd::drawing::point::y values se...
Definition point.hpp:59