Exemplo n.º 1
0
 protected override void SetVisibleCore(bool newVisible)
 {
     this.SetVisibleCoreBase(newVisible);
     if (!newVisible || !this.IsHandleCreated)
     {
         return;
     }
     TopFormBase.SetWindowPos(this.Handle, this.InsertAfterWindow, 0, 0, 0, 0, 83U);
 }
Exemplo n.º 2
0
        protected virtual void UpdateZOrder(IntPtr after)
        {
            if (!this.Visible)
            {
                return;
            }
            if (after == IntPtr.Zero)
            {
                after = this.InsertAfterWindow;
            }
            uint      num        = 16U;
            Rectangle realBounds = this.RealBounds;
            uint      uFlags     = num | 3U;

            TopFormBase.SetWindowPos(this.Handle, after, realBounds.X, realBounds.Y, realBounds.Width, realBounds.Height, uFlags);
        }