win Forms properties and objects [RESOLVED]
I'm reading a book right now and the author is demonstrating how you alter the properties of your forms at run-time. He goes on to say that in order to alter the size, for example, you create a size object (new system.drawing.size(x,x)) and then assign th the new object to the form's size property (me.size = new system.drawing.size(x,x)).
my question is this: why can't you simply go: me.size = (x,x) or dim x as integer (assign it a number) dim x2 as integer(same thing) and then go...me.size = x, x2 ..why can't you do that?
Exactly WHEN do you know you need to create an object to be used as a variable? And, you don't really HAVE to use the entire string..system.drawing.size(x,x)..do you? Couldnt you go...new size(x,x) instead?
Am I even CLOSE? Or am I waaaaay off track here?