Point pointPos = new Point();
pointPos.X = button1.Left;
pointPos.Y = button1.Left + button1.Height;
pointPos = button1.PointToScreen(pointPos);
popupMenu1.ShowPopup(pointPos);
沒有留言:
張貼留言