Ejemplo n.º 1
0
        private void DisposeResource()
        {
            if (!_disposed)
            {
                Forms.CloseAll();
                _timerRefresh.Dispose();
                //预防直接调用Framework的Close
                if (_manager != null)
                {
                    ((FrameworkManager)_manager).OpenedList.Remove(this);
                }

                _disposed = true;
            }
        }