I use a virtual PC (with remote desktop connection) for my project. The project uses some GDI+ functionality.
Now, apparently there is a problem when displaying graphics object on the real and virtual PC.
A simple example:
public class Form1 : Form
{
private void Form1_Paint(System.Object sender,
System.Windows.Forms.PaintEventArgs e)
{
Graphics g = e.Graphics;
using (Pen pen = new Pen(Color.Blue, 3)) {
g.SmoothingMode = Drawing2D.SmoothingMode.AntiAlias;
g.DrawLine(pen, 10, 10, 50, 150);
g.SmoothingMode = Drawing2D.SmoothingMode.None;
g.DrawLine(pen, 30, 10, 70, 150);
}
}
}
Result:
Virtual PC Real PC
So, for a "virtual" development is should be take in consideration. Have you had the similar situations?