コード例 #1
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (null != components)
                {
                    components.Dispose();
                }
            }

            base.Dispose(disposing);

            if (_disposeResponsible)
            {
                ReportsGenerator generator = App.Current.ReportGenerator;
                generator.DisposeReport(_description);
            }

            if (null != _description)
            {
                _description.IsLocked = false;
            }
        }