By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,454 Members | 3,133 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,454 IT Pros & Developers. It's quick & easy.

Form properties are missing

P: n/a
Hello,

I have created a new form within C# and I am unable to get any properties on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies
Nov 15 '05 #1
Share this Question
Share on Google+
12 Replies


P: n/a
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties on this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies

Nov 15 '05 #2

P: n/a
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #3

P: n/a
Do you get anything at all in the toolbox to the left.
And besides make sure in the design mode that the form is selected when
u look out for properties, to make sure of this - right click the form and click properties

Plz let me know of the updates coz this is as new to me as it gets
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #4

P: n/a
There's apparently nothing in the toolbox. Yes, I've tried losing focus of the form in design mode and reselecting it. And tried to refresh with the context menu. But nothing appears to be working. It appears to happen with new forms rather than ones i've upgraded from .NET 2002.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:ua**************@TK2MSFTNGP09.phx.gbl...
Do you get anything at all in the toolbox to the left.
And besides make sure in the design mode that the form is selected when
u look out for properties, to make sure of this - right click the form and click properties

Plz let me know of the updates coz this is as new to me as it gets
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #5

P: n/a
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #6

P: n/a
I have had similar experiences in the past, it seems to occur after i had a bad "Check Out" from sourcesafe.
Nov 15 '05 #7

P: n/a
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #8

P: n/a
The form I create is fresh and isn't checked in to sourcesafe initially, and
is already broken.

Regards
Simon

"Vinny Vinn" <an*******@discussions.microsoft.com> wrote in message
news:3B**********************************@microsof t.com...
I have had similar experiences in the past, it seems to occur after i had

a bad "Check Out" from sourcesafe.
Nov 15 '05 #9

P: n/a
Simon,

Probably you should tell what "...I can't do anything with the form itself." means.
You don't see the class, you do see the class, but it throws some exceptions when using it, compiler complains or nothings trown compiler doesn't complain just the form's doesn't show up when you call Form's Show method.
--
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:uU**************@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #10

P: n/a
Simon,

Probably you should tell what "...I can't do anything with the form itself." means.
You don't see the class, you do see the class, but it throws some exceptions when using it, compiler complains or nothings trown compiler doesn't complain just the form's doesn't show up when you call Form's Show method.
--
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:uU**************@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #11

P: n/a
The form is shown in designer and code, but I can't actually do anything with the form at design time. I can't put any controls on it as there are none to choose from or change the properties of the form as the properties window is empty!

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:e8**************@TK2MSFTNGP12.phx.gbl...
Simon,

Probably you should tell what "...I can't do anything with the form itself." means.
You don't see the class, you do see the class, but it throws some exceptions when using it, compiler complains or nothings trown compiler doesn't complain just the form's doesn't show up when you call Form's Show method.
--
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:uU**************@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #12

P: n/a
The form is shown in designer and code, but I can't actually do anything with the form at design time. I can't put any controls on it as there are none to choose from or change the properties of the form as the properties window is empty!

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:e8**************@TK2MSFTNGP12.phx.gbl...
Simon,

Probably you should tell what "...I can't do anything with the form itself." means.
You don't see the class, you do see the class, but it throws some exceptions when using it, compiler complains or nothings trown compiler doesn't complain just the form's doesn't show up when you call Form's Show method.
--
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:uU**************@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <10*@100.com> wrote in message news:OH**************@TK2MSFTNGP12.phx.gbl...
Hi Simon,
Pay attention on the namspace the new form is declared in. When you use the wizards they use the *default namespace* setting from the project's properties. However this might not be the right namespace for your project. If this is the case change the namespace or put *uses <form's namspece>* in the file where want to use the form or use fully qualified name of the form class.

--
HTH
B\rgds
100
"Simon Jefferies" <je*************@hotmail.com> wrote in message news:eD**************@TK2MSFTNGP09.phx.gbl...
I simply created it from the Add New Item wizard. It comes up with the form in designer mode and I can change to code view but I can't do anything with the form itself.

It is derived from System.Windows.Forms.Form class and does have a constructor.

Simon
"Anurag Setia" <ha******@hotmail.com> wrote in message news:un**************@TK2MSFTNGP12.phx.gbl...
Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <je*************@hotmail.com> wrote in message
news:eK**************@TK2MSFTNGP11.phx.gbl...
Hello,

I have created a new form within C# and I am unable to get any properties

on
this form and also unable to add a new controls to it.

Any ideas?
Simon Jefferies


Nov 15 '05 #13

This discussion thread is closed

Replies have been disabled for this discussion.