Esempio n. 1
0
        private void AddInternalTemplates()
        {
            List <HTMLReportTemplate> lst = HTMLReportTemplate.GetInternalTemplates();

            foreach (HTMLReportTemplate RT in lst)
            {
                HTMLReportTemplateList.Add(RT);
            }
        }
Esempio n. 2
0
        internal static List <HTMLReportTemplate> GetInternalTemplates()
        {
            var list = new List <HTMLReportTemplate>();
            var RT1  = new HTMLReportTemplate();

            RT1.Name        = "Summary HTML Report";
            RT1.Description = "aaa";
            RT1.HTML        = GetInternalReportHTML("SummaryHTMLReport.html");
            list.Add(RT1);

            var RT2 = new HTMLReportTemplate();

            RT2.Name        = "Skeleton for Customized HTML Report";
            RT2.Description = "aaa";
            RT2.HTML        = GetInternalReportHTML("SkeletonHTMLReport.html");
            list.Add(RT2);
            return(list);
        }
Esempio n. 3
0
 private void OKButton_Click(object sender, RoutedEventArgs e)
 {
     SelectedReportTemplate = (HTMLReportTemplate)ReportsListBox.SelectedItem;
     _pageGenericWin.Close();
 }