gpt4 book ai didi

c# - 在指定位置打开一个 "ColorDialog"对话框

转载 作者:太空狗 更新时间:2023-10-30 01:06:48 24 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Setting the start position for OpenFileDialog/SaveFileDialog

我必须在用户单击的按钮上方显示一个 ColorDialog。

目前我找不到如何指定这个位置:

  1. 没有 StartPosition/Location 属性 ( How can I control the location of a dialog when using ShowDialog to display it? )
  2. 构造函数只接受一个windows参数,把这个放在中间

我需要将它直接放在光标上方,指定 X;Y。

关于如何实现这一点有什么想法吗?

谢谢!

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com