kozubov/WindowsForms
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
■ Handler for clicking the left mouse button, which is There is a message about where the current point is: inside three rectangles, outside, on the border of the rectangle. If the button was pressed when pressing the left mouse button Control (Ctrl), then the application should close;
■ The right-click handler that you leads to the window header information about the size of the client (working) window area in the form: Width = x, Height = y, where x and y - the corresponding parameters of the upper window;
■ Handler for moving the mouse pointer within ra the boho area that should be displayed in the window header current mouse coordinates are x and y. Develop an application based on a form.
■ The user “clicks” with the left mouse button on the form and without releasing the button, leads the mouse over it, and at the moment I leave it scans of the button on the received coordinates rectangle nickname (you, of course, know that two points on the plane enough to create a rectangle) create a "static", which contains its sequence number (I mean the order of appearance on the form).
■ The minimum size of "static" is 10x10, with attempting to create an element of smaller size user must see the corresponding warning.
■ When right-clicking above the surface "Static" in the title of the window should appear information tion about its area and coordinates (relative to the form). In case there are several “hundred ticks ", the preference is given to" statics "with the greatest serial number.
■ By double clicking the left mouse button over the surface With the help of “static” it should disappear from the form. When, if there are several “statics” at the click point, then preference is given to “statics” with the least order by number. Develop an application “runaway static” :) The essence of the application: on the form is a static control ("static"). The user is trying to move the mouse cursor to "static", and, if the cursor is close to the static; the escape control em. Provide for movement "static" only within the form.