예제 #1
0
        /// <summary>
        /// Dispose the current instance
        /// </summary>
        /// <param name="fromIDisposableDispose">dispose was called from IDisposable.Dispose</param>
        protected override void Dispose(bool fromIDisposableDispose)
        {
            if (fromIDisposableDispose)
            {
                _dockRightGuider.Dispose();
                _dockRightGuider = null;

                _dockBottomGuider.Dispose();
                _dockBottomGuider = null;

                _dockLeftGuider.Dispose();
                _dockLeftGuider = null;

                _dockTopGuider.Dispose();
                _dockTopGuider = null;
            }
        }
예제 #2
0
        /// <summary>
        /// Dispose the current instance
        /// </summary>
        /// <param name="fromIDisposableDispose">dispose was called from IDisposable.Dispose</param>
        protected override void Dispose(bool fromIDisposableDispose)
        {
            if (fromIDisposableDispose)
             {
            _dockRightGuider.Dispose();
            _dockRightGuider = null;

            _dockBottomGuider.Dispose();
            _dockBottomGuider = null;

            _dockLeftGuider.Dispose();
            _dockLeftGuider = null;

            _dockTopGuider.Dispose();
            _dockTopGuider = null;
             }
        }