0

我在表格上有图纸,组框将它们隐藏起来。它还可以防止激活表单的单击事件。所以我尝试用 alpha 元素设置背景颜色完全透明,然后我可以看到画作,但事件仍然不起作用。是否有可能组框根本没有填充,只有一条外线?

4

1 回答 1

2

i think you are trying to draw on the form and want to have inside the boundaries of a groupbox, you should try to draw on groupbox instead of form.

Graphics groupBox = groupBox1.CreateGraphics(); //Graphics for GroupBox
于 2012-07-22T15:17:42.430 回答