I am developing a windows form designer.

So far I know I should construct a object of CodeCompileUnit from a source file then load a form.
I refer SharpDevelop and construct a object ofCodeCompileUnit, but I can not use this
object to display a form. My source file like below:

namespace Temp {

public class Form1 : System.Windows.Forms.Form {
private void InitializeComponent() {
this.Text = "NewForm";
}
}
}

But SharpDevelop can display this form, I do not why.
Is there anybody can solve this problem for me ?

And, to parse a source file and to construct a object ofCodeCompileUnit are big work.
I really want to know more about these.

Thanks a lot
CanadaProgrammer