Connecting Tech Pros Worldwide Forums | Help | Site Map

Form properties are missing

Simon Jefferies
Guest
 
Posts: n/a
#1: Nov 15 '05
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



Anurag Setia
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Form properties are missing


Hope you extended it from windows form class
Did you remember to call the windows form constructor in this one

"Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hello,
>
> I have created a new form within C# and I am unable to get any properties[/color]
on[color=blue]
> this form and also unable to add a new controls to it.
>
> Any ideas?
> Simon Jefferies
>
>[/color]


Simon Jefferies
Guest
 
Posts: n/a
#3: Nov 15 '05

re: Form properties are missing


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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Anurag Setia
Guest
 
Posts: n/a
#4: Nov 15 '05

re: Form properties are missing


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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Simon Jefferies
Guest
 
Posts: n/a
#5: Nov 15 '05

re: Form properties are missing


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" <handsome@hotmail.com> wrote in message news:uab5iA89DHA.1116@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Stoitcho Goutsev \(100\) [C# MVP]
Guest
 
Posts: n/a
#6: Nov 15 '05

re: Form properties are missing


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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Vinny Vinn
Guest
 
Posts: n/a
#7: Nov 15 '05

re: Form properties are missing


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

re: Form properties are missing


The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message news:OHzfAE99DHA.2168@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Simon Jefferies
Guest
 
Posts: n/a
#9: Nov 15 '05

re: Form properties are missing


The form I create is fresh and isn't checked in to sourcesafe initially, and
is already broken.

Regards
Simon

"Vinny Vinn" <anonymous@discussions.microsoft.com> wrote in message
news:3BA4A99A-C5DE-4A59-B58A-47F98CC90581@microsoft.com...[color=blue]
> I have had similar experiences in the past, it seems to occur after i had[/color]
a bad "Check Out" from sourcesafe.


Stoitcho Goutsev \(100\) [C# MVP]
Guest
 
Posts: n/a
#10: Nov 15 '05

re: Form properties are missing


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" <jefferies_simon@hotmail.com> wrote in message news:uUgtoZ99DHA.1632@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message news:OHzfAE99DHA.2168@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Stoitcho Goutsev \(100\) [C# MVP]
Guest
 
Posts: n/a
#11: Nov 15 '05

re: Form properties are missing


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" <jefferies_simon@hotmail.com> wrote in message news:uUgtoZ99DHA.1632@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message news:OHzfAE99DHA.2168@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Simon Jefferies
Guest
 
Posts: n/a
#12: Nov 15 '05

re: Form properties are missing


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]" <100@100.com> wrote in message news:e8KUEf99DHA.1804@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" <jefferies_simon@hotmail.com> wrote in message news:uUgtoZ99DHA.1632@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message news:OHzfAE99DHA.2168@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Simon Jefferies
Guest
 
Posts: n/a
#13: Nov 15 '05

re: Form properties are missing


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]" <100@100.com> wrote in message news:e8KUEf99DHA.1804@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" <jefferies_simon@hotmail.com> wrote in message news:uUgtoZ99DHA.1632@TK2MSFTNGP12.phx.gbl...
The namespace that is wrapped around the form class is correct.

Regards
Simon
"Stoitcho Goutsev (100) [C# MVP]" <100@100.com> wrote in message news:OHzfAE99DHA.2168@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" <jefferies_simon@hotmail.com> wrote in message news:eDS5Xy69DHA.1768@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" <handsome@hotmail.com> wrote in message news:unClbr69DHA.1636@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hope you extended it from windows form class
> Did you remember to call the windows form constructor in this one
>
> "Simon Jefferies" <jefferies_simon@hotmail.com> wrote in message
> news:eKbQ7i69DHA.3648@TK2MSFTNGP11.phx.gbl...[color=green]
> > Hello,
> >
> > I have created a new form within C# and I am unable to get any properties[/color]
> on[color=green]
> > this form and also unable to add a new controls to it.
> >
> > Any ideas?
> > Simon Jefferies
> >
> >[/color]
>
>[/color]
Closed Thread