I am just learning as you'll be able to tell by my question. I need to....
Create a project with a single text box. In the Resize event of the form, show the Width of the form in
the text box. I have Visual Studios 2008.
Thanks to any help in advance!!!
Help with a very simple C# code.?
Bashar Y was almost there :) but it's a little different.
In C# it would be:
textbox1.Text = this.Width.ToString();
or Height of course, like he said.
Make sure you don't forget ToString() behind it,
C# is a little stricter than VB ;)
Reply:pkey i have visual basic but i can help you in visual basic i use this "
textbox1.text =me.width
you can use heigh too..
dogwood
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment