with Rhino 5 common work like this
starter form = new starter();
if (mode == RunMode.Interactive)
{
form.ShowDialog(RhinoApp.MainWindow());
RhinoApp.WriteLine(form.result);
}
but how it work with rh6 Commeon
Thanks Robert