--
You received this message because you are subscribed to a topic in the Google Groups "Eto.Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eto-forms/Bxhavgy-Y8k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eto-forms+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eto-forms/c2cfd86e-ba37-4520-9211-8c74714cb86d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for your help.I created a private repo to bitbucket ad I set your email permissions to read/write
Command to receive repo: git clone https://protrader@bitbucket.org/protrader/eto-ptchartcontrol.git
The project in intended to run on WinForms and Xamarin.MacThe repo is for WinForm version (and the problem is in this version)In Mac (OSX ElCapitain) I have another problem: when I run Draw method, CreateGraphic method return a NullException.Hava a nice day.Eng. Stefano Gardini
Hi Stefano,I see your problem, here.You need to use the PaintEventArgs.Graphics property you are given in the Paint event here.the Drawable.CreateGraphics() is only useful when you want to paint directly to the screen outside of the paint event, and not retain its state (which makes sense with the problem you're running into).Hope this helps!Curtis.
On Sunday, February 14, 2016 at 2:08:29 AM UTC-8, Stefano Gardini wrote:
Thanks for your help.I created a private repo to bitbucket ad I set your email permissions to read/write
Command to receive repo: git clone https://prot...@bitbucket.org/protrader/eto-ptchartcontrol.git
--
You received this message because you are subscribed to a topic in the Google Groups "Eto.Forms" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eto-forms/Bxhavgy-Y8k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eto-forms+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eto-forms/be67fad8-7293-4332-9a41-19551c834fed%40googlegroups.com.