473,626 Members | 3,237 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2100
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******** ******@TK2MSFTN GP11.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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******@hotma il.com> wrote in message news:ua******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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*******@disc ussions.microso ft.com> wrote in message
news:3B******** *************** ***********@mic rosoft.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP09.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******@hotma il.com> wrote in message news:un******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP11.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1756
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 in Visual C# are :ActiveForm, ControlAccessibleObject, ControlCollection, DefaultBackColor, DefaultFont, DefaultForeColor, DockPaddingEdges, DockPaddingEdgesConverter, Equals, FromChildHandle, FromHandle, GetAutoScaleSize, IsMnemonic, Main,...
8
2880
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 it took to go to a record was very slow. The go to mechanism was a box that the user typed the index value into a combo box, with very simple code attached: with me.RecordsetClone .FindFirst " = " & me.cboGoTo If Not .NoMatch Then Me.Bookmark...
4
8372
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 display the contents of a TIFF image file. According to the very limited documentation that I have been able to locate so far, all I should need to do is to drop the Image Edit Control onto the form in design mode, set the control's Image property to...
25
10212
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 data in each record, which includes the ID of the father and the mother (who also have records in the table). One record per form. I have a Tab Control in the form, and in one of the tabs I have a subform (sfmSiblings) in which I wish to list...
6
51911
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 the MinmizeBox, ControlBox and MaximizeBox(es) are all set to false. It's FormBorderStyle is set to "Fixed Single". Eventually this form will have a nice background image. I need to use this form as sort of back drop while other forms/operations...
10
1328
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 of document type properties from SQL Server, these properties are used to create corresponding controls on the form, so for example:
8
3656
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 and save it to a file. This step is not to hard however the contents of the textarea is mostly latex source so it contains just about every special character you can imagine. My question is this, how do I save an exact copy of the textarea...
8
3572
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 picture box, lots of text boxes (for input).. you get the idea. All of a sudden everything on the form has disappeared, it looks like a blank, newly created form. I can still get to the properties of every item on the form using the drop-down box in...
12
2357
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 from the User Control in Form2 ? Hope this is clear enough...
0
8262
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8196
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8701
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8502
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1507
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.