All the views are not getting listed. The break statement is causing the foreach to exit before filling all the entries.
ScriptWizrd.cs
// Views
if (db.Views.Count > 0)
{
foreach (Microsoft.SqlServer.Management.Smo.View vw in db.Views)
{
if (!vw.IsSystemObject)
{
clbViews.Items.Add(vw);
break;
}
}
if (clbViews.Items.Count > 0)
{
clbObjectTypes.Items.Add(CommonFunc.FormatString(Properties.Resources.ObjectTypeViews));
}
}