private void AttachToLeague(IntPtr hWnd) { Point windLoc = hWnd.GetWindowLocation(); windLoc.Y -= this.Height; windLoc.X -= 8; windLoc.Y += 8; this.Location = windLoc; }