예제 #1
0
파일: DockGuider.cs 프로젝트: Remurr/nDbg
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="host">host window</param>
        public DockGuider(FormWrapper host)
        {
            _host = host;
             _host.SizeChanged    += OnHostSizeChanged;
             _host.Move           += OnHostMoved;
             _host.VisibleChanged += OnHostVisibleChanged;

             _guider = new DockGuiderWrapper(_host);
        }
예제 #2
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="host">host window</param>
        public DockGuider(FormWrapper host)
        {
            _host                 = host;
            _host.SizeChanged    += OnHostSizeChanged;
            _host.Move           += OnHostMoved;
            _host.VisibleChanged += OnHostVisibleChanged;

            _guider = new DockGuiderWrapper(_host);
        }
예제 #3
0
        /// <summary>
        /// Dispose this instance
        /// </summary>
        /// <param name="fromIDisposableDispose">call from IDisposable.Dispsose</param>
        protected override void Dispose(bool fromIDisposableDispose)
        {
            if (fromIDisposableDispose)
            {
                _movedWindow = null;

                if (_guider != null)
                {
                    _guider.Dispose();
                    _guider = null;
                }
            }
        }
예제 #4
0
파일: DockGuider.cs 프로젝트: Remurr/nDbg
        /// <summary>
        /// Dispose this instance
        /// </summary>
        /// <param name="fromIDisposableDispose">call from IDisposable.Dispsose</param>
        protected override void Dispose(bool fromIDisposableDispose)
        {
            if (fromIDisposableDispose)
             {
            _movedWindow = null;

            if (_guider != null)
            {
               _guider.Dispose();
               _guider = null;
            }
             }
        }