If you are using Rhino 5 for Windows you might do this using WinForms. An example and how it was created using Python is discussed here.
If you are using Rhino 6 on Windows or Rhino for Mac you might look into Eto Forms. More information can be found here.
_
c.