예제 #1
0
        public ReportingTool(int ReportType)
        {
            CrystalReport1 cr = new CrystalReport1();
            Data = new RISData();
            GenericDS = new DataSet();

            this.ReportType = ReportType;
            switch (ReportType)
            {
                case 0: report = new JournalArticleDoE();
                    break;
                case 1: report = new ConferencePaperDoE(); 
                    break;
                case 2: report = new BookDoE();
                    break;
                default: report = new ReportClass();
                    break;
            }
        }
예제 #2
0
 public void ClearDS()
 {
     Data = new RISData();
     GenericDS = new DataSet();
 }