SvgWindow window = (SvgWindow)svgPictureBox.Window;
svgPictureBox.LoadXml("<svg
xmlns='http://www.w3.org/2000/svg'/>");
I'm doing this piece of code on my form constructor,
and i have the following windows form initialization:
this.svgPictureBox.AutoSize = true;
this.svgPictureBox.Dock =
System.Windows.Forms.DockStyle.Fill;
this.svgPictureBox.Location = new
System.Drawing.Point(0, 0);
this.svgPictureBox.Name = "svgPictureBox";
this.svgPictureBox.Size = new System.Drawing.Size(624,
381);
this.svgPictureBox.Surface = null;
this.svgPictureBox.TabIndex = 25;
when i minimize the window, a nullpointerexception is
thrown at GraphicsNode.BeforeRender(ISvgRenderer
renderer) overriden method. More exactly, at the
following line:
graphicsContainer = graphics.BeginContainer();