#IF Designer Type Preprocessoring?

I was told to come here and ask this.

I'm making an application that has a couple panels and I always run into the problem of where to design all the panels. I hate to resize the boxs all the time to make changes to them and usually work on them outside of the forms main size.

Question: Is it possible to do something like this.
#If Designer Then
Me.ClientSize = New System.Drawing.Size(1200, 1000)
#Else
Me.ClientSize = New System.Drawing.Size(600, 460)
#End If
'This is also used to move panels and such around... my expample resizes the actual form.

I mostly want to do this to the panels because i've found that resizing all my panels onload causes a long lag on slower computers when starting up (its the only thing im calling onLoad the rest is based on events, mostly clicks).

Thanks You.

[833 byte] By [Templarian] at [2007-12-28]
# 1
Well after looking around a long while 3 hours... i have seen no way to do this, and can't figure how an easy way around it.

Well thanks guys, I hope in the next version there is a "#if build then" but till then my program will take lock up the program lag for the first 4 sec.

Templarian at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...
# 2
someone could of told me that #if's ect are deleted out of the form.designer.vb when its closed and reopened. i spent 2 hour recoding the entire thing to use #if's and a random varaible called build at the top if it equal 1 it was a build if it was 0 it was testing. It erased the 2 hours of work or more.

Just seems dumb they allow it even though they know its gonna be deleted.

Is there a way to have it keep #if ?

Templarian at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic General...