示例#1
0
        public void Dispose()
        {
            if (MainBand != null)
            {
                MainBand.Dispose();
            }
            if (Report != null)
            {
                Report.Unload();
#if (!COMPACTFRAMEWORK)
                ((IDisposable)Report).Dispose();
#endif
            }
            Report   = null;
            MainBand = null;

            GC.SuppressFinalize(this);
        }