[Mono-list] Windows.Forms Controls Drawing

Phillip N. pneumann at gmail.com
Thu Dec 11 10:48:01 EST 2008


Hello all,

Im writing a program with Windows Forms, and got a problem i have no
solution jet.
Im attaching the files related.

The problems are:

1.- You can see two "Agents" in forms. They are transparent in the sense
that you can see the form background below them. But the are not
transparent with each other. Just move them so one get below the other.
In the real version, im drawing much more than two Agents, and the
probability of a overlap is high... 
How can i make them transparent to each other too?

2.- When you move the agents after moving the Window, the movement start
to be not correct (it starts moving from another point in the form). Is
this a bug in my application?


Thanks in advance!

PD: gmcs -r:System.Windows.Forms -r:System.Drawing *.cs ...


-- 
Phillip N. <pneumann at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Agent.cs
Type: text/x-csharp
Size: 1678 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20081211/eece084e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Libre.png
Type: image/png
Size: 6188 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20081211/eece084e/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.cs
Type: text/x-csharp
Size: 314 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20081211/eece084e/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Window.cs
Type: text/x-csharp
Size: 574 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20081211/eece084e/attachment-0002.bin 


More information about the Mono-list mailing list