controls

Draw a line on the image and move it

I want to draw a line or group of lines programmatically on an image and then manipulate them (move, resize, rotate). The lin ... d then the image is saved with the positions of these lines. Are there any enterprise / open source software APIs for this?

Manual implementation of the ComboBox drop-down list

I wrote a Listbox, it looks like this: Now you need to make a Combobox, but I can't understand one nuance. If all the pre ... tion of one of the presented elements. Also, I don't like the Dialog form option due to the loss of focus of the parent form.