Command bring up window with tabs?

I have a command I am developing in Rhinocommon that is gonna have a lot of options, like 50. So I would like the command to bring up a window with multiple tabs where options can be selected and values input. Any suggestions on how I can do this?

Thanks,
Sam

.NET includes a “TabControl” control that you can dump on a form. Is this what you want?

That would work great. How do I get the rhino command to bring up the form? Hope I don’t smack my head after you answer this one…

Thanks,
Sam

OK, I see how to work with the tab control. What I’m wondering though is how do I get it (the form that it is in) to open up from Rhino. I have a Rhinocommon command, and I was expecting something like Rhinowindow.LoadForm or something like that. So the user types my command in Rhino and the form pops up, how can I do this?

Thanks,
Sam

See if this example is helpful.

https://github.com/dalefugier/SampleCsModalForm

Great, thanks Dale, got a form with the tab control working!

One last question, I’m not needing to do this right away, but eventually I would like to make this form with tab control dockable within Rhino. Is this a new giant can of worms? Perhaps this question has already been asked and there is a sample?

Thanks,
Sam

https://github.com/dalefugier/SampleCsPanel

Perfect, thanks Dale!