12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Text;
- namespace FastReport.Web
- {
- public class ReportTabCollection : Collection<ReportTab>
- {
- }
- public class ReportTab
- {
- public string Name { get; set; } = null;
- public Report Report { get; set; } = null;
- public bool ReportPrepared { get => Report?.IsPrepared ?? false; set { } }
- public int CurrentPageIndex { get; set; } = 0;
- public int MinPageIndex { get; set; } = 0;
- public bool Closeable { get; set; } = true;
- public bool NeedParent { get; set; } = false;
- //public ReportTab Clone()
- //{
- // return new ReportTab()
- // {
- // Name = Name,
- // Report = Report,
- // ReportPrepared = ReportPrepared,
- // CurrentPageIndex = CurrentPageIndex,
- // Closeable = Closeable,
- // };
- //}
- }
- }
|