How to make a form simulate a desktop
<p>Right, this "might" be a tough one, as I do not even know where to start with this.</p>

<p>Ok, I am working on a program, which can load visual studio solutions and display them within a form when debugging.</p>

<p>Actually, the program does a whole lot more, but what it does, is strictly classified, so I can not go into that.
Anyway, whatever it does, does not matter in this case.</p>

<p>Here is the plot:</p>

<p>You create a project in visual studio, but when you debug it, it does so on your desktop.</p>

<p>What I need it to do, is debug it within a form, effectively acting as a desktop with a different resolution.</p>

<p>So if the specific program for example, uses Screen.PrimaryScreen.Bounds.Width - 30, as a this.left property, it needs to think that the boundaries of the form it is displayed in, is in fact the Screen.PrimaryScreen.Bounds.</p>

<p>I am having difficulties, trying to find out how to handle this.
Should I perhaps catch this type of code and then covert it, to work within the form?
Is there perhaps another way, to make windows simulate a different PrimaryScreen size, based on the size of the form?</p>

<p>EDIT: Perhaps a little more simplified.
I want the from to act as if it was my windows desktop, so any solution i load into the program, get's debugged and viewed in that form.
Handy for if you need to check how your application will look on a phone or simply in another resolution.</p>

<p>Point is that the program itself is going to be an IDE, but rather an online one, in which a group of people can work together on the same application/file, at the same time.</p>
