Ejemplo n.º 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)
            {
                _dockFillGuider.Dispose();
                _dockFillGuider = null;

                _dockRightGuider.Dispose();
                _dockRightGuider = null;

                _dockBottomGuider.Dispose();
                _dockBottomGuider = null;

                _dockLeftGuider.Dispose();
                _dockLeftGuider = null;

                _dockTopGuider.Dispose();
                _dockTopGuider = null;
            }
        }
Ejemplo n.º 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)
         {
            _dockFillGuider.Dispose();
            _dockFillGuider = null;

            _dockRightGuider.Dispose();
            _dockRightGuider = null;

            _dockBottomGuider.Dispose();
            _dockBottomGuider = null;

            _dockLeftGuider.Dispose();
            _dockLeftGuider = null;

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