123456789101112131415161718192021222324252627282930313233343536 |
- using FastReport.Design;
- using FastReport.Forms;
- using FastReport.Utils;
- namespace FastReport
- {
- partial class ReportSettings
- {
- internal void OnStartLoadingProgress(ReportTab reportTab)
- {
- if (ShowProgress)
- {
- if (progress == null)
- {
- progress = new ProgressForm(null, false);
- progress.ShowProgressMessage(Res.Get("Messages,LoadingReport"));
- progress.Show();
- progress.Refresh();
- }
- }
- }
- internal void OnFinishLoadingProgress(ReportTab reportTab)
- {
- if (ShowProgress)
- {
- if (progress != null)
- {
- progress.Close();
- progress.Dispose();
- progress = null;
- }
- }
- }
- }
- }
|