Hello,
I'm using the code from https://www.vbforums.com/showthread....-XNA-in-VB-Net to draw a lines chart( I simply put a for cycle inside the backgroundworker to draw all the lines).
My problem is that when i resize the form(or I maximize it), the picturebox stretch the chart instad to redraw it correctly; If I correctly understand, I need to change the backbufferHeight and Widht, but all example that I've found are not "winform" ,and the have a different structure; any advice?
I'm using the code from https://www.vbforums.com/showthread....-XNA-in-VB-Net to draw a lines chart( I simply put a for cycle inside the backgroundworker to draw all the lines).
My problem is that when i resize the form(or I maximize it), the picturebox stretch the chart instad to redraw it correctly; If I correctly understand, I need to change the backbufferHeight and Widht, but all example that I've found are not "winform" ,and the have a different structure; any advice?