Resizing Controls At runtime

前端 未结 3 1116
一整个雨季
一整个雨季 2021-01-13 05:00

Does anybody know of any sample code laying around anywhere that would enable me to resize a picturebox at runtime when the mouse cursor is draging the bottom right edge of

3条回答
  •  庸人自扰
    2021-01-13 05:07

    with use

    ControlMoverOrResizer

    class in this article you can do movable and resizable control in run time just with a line of code! :) example:

    ControlMoverOrResizer.Init(button1);   
    

    and now button1 is a movable and resizable control!

提交回复
热议问题