Dialog box with slider


I would like to know how create a dialog box with a slider to edit object.
It is about a project I try to create with python and rhinocommon.


there is an old but very good example on the blog site of @stevebaer. The example code is located here. I used it for building various interactive interfaces with WinForms and Rhino-Python.