473,395 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Form properties are missing

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
12 2080
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
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
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
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
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Christo14 | last post by:
When I make a form with the form designer the result is a form with significantly fewer properties and meathods than if I made a form from scratch. The properties and meathods I currently have...
8
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
4
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
6
by: John Bowman | last post by:
Hi All, I must be missing something really obvious, so I'd appreciate someone helping me out. I have a simple Windows form that currently only has a title bar (aka the Text Property is set) and...
10
by: Rob Meade | last post by:
Hi all, I've got myself into a bit of a problem and I'm trying to dig my way back out, in a) the quickest way due to project deadline and also b) best approach. I have a form which gets a set...
8
by: david.lindsay.green | last post by:
Hello all, I am quite new a web scripting and making web pages in general and I have stumbled across a problem I have as yet been unable to solve. I am trying to take the contents of a textarea box...
8
by: Ryan | last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a...
12
by: Rob | last post by:
Let's say you open Form1 that contains TabControl1 There are several tabs on TabControl1 Now you open a new Form2 that contains a User Control How can you determine the Selected tab in Form1...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.