private static void LoadThemeClasses(IKBService kbserv, IOutputService output, StringCollection ThemeClasses) { foreach (Theme thm in Theme.GetAll(kbserv.CurrentModel)) { output.AddLine("Procesing theme .." + thm.Name); ThemeStylesPart part = thm.Parts.Get <ThemeStylesPart>(); foreach (Artech.Genexus.Common.Objects.Themes.ThemeStyle thmclass in part.GetAllStyles()) { string thmstr = thmclass.Name; if (!ThemeClasses.Contains(thmstr) && (!(thmstr.Contains("Dragging") || thmstr.Contains("AcceptDrag") || thmstr.Contains("NoAcceptDrag")))) //Excluyo clases especiales { ThemeClasses.Add(thmstr.ToLower()); } } } }
private static StringCollection LoadThemeClasses() { StringCollection ThemeClasses = new StringCollection(); foreach (Theme thm in Theme.GetAll(UIServices.KB.CurrentModel)) { KBDoctorOutput.Message("Procesing theme .." + thm.Name); ThemeStylesPart part = thm.Parts.Get <ThemeStylesPart>(); foreach (Artech.Genexus.Common.Objects.Themes.ThemeStyle thmclass in part.GetAllStyles()) { string thmstr = thmclass.Name; if (!ThemeClasses.Contains(thmstr) && (!(thmstr.Contains("Dragging") || thmstr.Contains("AcceptDrag") || thmstr.Contains("NoAcceptDrag")))) //Excluyo clases especiales { ThemeClasses.Add(thmstr.ToLower()); } } } return(ThemeClasses); }