Thread View: alt.pl.comp.lang.csharp
2 messages
2 total messages
Started by Tomek
Mon, 21 Feb 2011 11:40
Problem z rysowaniem po panelu
Author: Tomek
Date: Mon, 21 Feb 2011 11:40
Date: Mon, 21 Feb 2011 11:40
13 lines
1550 bytes
1550 bytes
Witam Pisze prosta aplikacje w Visial Studio 2005 dla Windows Mobile 6 Profesional i napotkalem pewien problem. Mianowicie, mam forme główną a na niej panel, na ktorym chce cos narysowac. Jednak podczas tworzenia obieku graficznego Graphics myGraf = panel1.CreateGraphics(); dostaje blad: 'System.NotSupportedException' occurred in System.Drawing.dll Jak rozwiazac ten problem? Pozdrawiam Tomek
Re: Problem z rysowaniem po panelu
Author: Wiktor Zychla
Date: Mon, 21 Feb 2011 13:30
Date: Mon, 21 Feb 2011 13:30
13 lines
1629 bytes
1629 bytes
> dostaje blad: 'System.NotSupportedException' occurred in > System.Drawing.dll > > Jak rozwiazac ten problem? albo/albo a) spróbować uzyskać Graphics nie z Panel tylko z Form, czyli panel1.Parent.CreateGraphics() (jeżeli panel leży bezpośrednio na form) b) rysować tylko w OnPaint gdzie Graphics jest zadany pozdrawiam Wiktor Zychla
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads