Visual Designer:

* foreach iterations are halted once a object has been added to the designer.
This commit is contained in:
Scionwest_cp 2009-11-21 10:21:27 -08:00
parent 89e01e75e1
commit c6c2e4dc9c
4 changed files with 241 additions and 179 deletions

View file

@ -44,6 +44,7 @@ namespace MudDesigner
legalApps.Add(app);
}
}
string filename = "";
foreach (string app in legalApps)
{
@ -53,10 +54,12 @@ namespace MudDesigner
break;
}
}
info.FileName = filename;
#else
info.FileName = appName;
#endif
info.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
info.WorkingDirectory = Application.StartupPath;