private Control BuildUI(StyleSheet styleSheet, QuestionStyleCollection questionStyles, QuestionForm form)
 {
     try
     {
         var uiBuilder = new StyleSheetUIBuilder();
         return(uiBuilder.BuildUI(styleSheet, questionStyles, form, Output));
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during creating of the styled user interface.", ex);
     }
 }
Exemplo n.º 2
0
 private Control BuildUI(StyleSheet styleSheet, QuestionStyleCollection questionStyles, QuestionForm form)
 {
     try
     {
         var uiBuilder = new StyleSheetUIBuilder();
         return uiBuilder.BuildUI(styleSheet, questionStyles, form, Output);
     }
     catch (Exception ex)
     {
         throw new ApplicationException("An unexpected error occured during creating of the styled user interface.", ex);
     }
 }