123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|603|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> Drag, resize, rotate box with mouse in C# WinForms

Mon, 05 Nov 2018, 10:54
steve_ancell

Drag, resize, rotate box with mouse in C# WinForms


Out of sheer bordom I decided to have a crack at doing a box with drag, resize and rotate using the mouse. This is a proper kludge of a project, so expect bugz. It is, at the moment, just an example that I intend to break out into a more easy to use class that could be used as a rotatable selection box in other projects. Feel free to rip it apart and/or change stuff for your own use.

This WinForms C# project was done in MS Visual Studio 2017, and I'm not sure if it would load into any earlier version.

Linkage!(.zip)
.
Thu, 15 Nov 2018, 04:07
Afr0
Could you post the code here?
Thu, 15 Nov 2018, 04:22
Jayenkai
It's C#.
It would require 17,000 code boxes.
Thu, 15 Nov 2018, 08:40
steve_ancell
@Afro:
If you download the link above, the C# code is in there Mats.