resx files needed for cs - files ?? 
Author Message
 resx files needed for cs - files ??

Hello,
why does Visual Studio sometimes wants to add a "resx"-File for an ordinary
class-file ".cs" ??

There are some files I created with "Add class..." which shows a different
icon and have a "View Designer..." menu command - but that doesn't make any
sense, does it ?

What's going on ?

Thanks for any hints,
Walter



Fri, 28 Jan 2005 17:18:18 GMT  
 resx files needed for cs - files ??
Hi Walter,

The "View Designer" option is added to the menu when the IDE detects that there is a System.Windows.Forms.Control derived class in the class file. At the same time,
the icon is changed to "Control Library" icon. Furthermore, if this class is derived from the  System.Windows.Forms.Form class, the Icon is changed to a special
"Windows Form" icon. Also, a .resx file is generated in above scenarios. This file is used to store resources on the form or control.

Hope this helps

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------

Quote:

>Newsgroups: microsoft.public.dotnet.languages.CSharp
>Subject: resx files needed for cs - files ??
>Date: Mon, 12 Aug 2002 11:18:18 +0200
>Organization: Ye 'Ol Disorganized NNTPCache groupie
>Lines: 16


>NNTP-Posting-Host: news.merlin.at
>X-Trace: newsreader1.netway.at 1029143953 16054 212.60.168.185 (12 Aug 2002 09:19:13 GMT)

>NNTP-Posting-Date: 12 Aug 2002 09:19:13 GMT
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

>X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/)
>Path: cpmsftngxa07!tkmsftngp01!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!feed.news.nacamar.de!fu-berlin.de!news.netway.at!not-for-mail
>Xref: cpmsftngxa07 microsoft.public.dotnet.languages.csharp:84020
>X-Tomcat-NG: microsoft.public.dotnet.languages.csharp

>Hello,
>why does Visual Studio sometimes wants to add a "resx"-File for an ordinary
>class-file ".cs" ??

>There are some files I created with "Add class..." which shows a different
>icon and have a "View Designer..." menu command - but that doesn't make any
>sense, does it ?

>What's going on ?

>Thanks for any hints,
>Walter



Sun, 30 Jan 2005 12:00:38 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Newbie: separate big .cs file into small .cs files

2. CS files display in VS6 like CPP files ?

3. resx-files in vc++.net 2002

4. invalid resx file when recompiling

5. Getting Access to the resx file?

6. Adding Bitmaps to resx files.

7. How can read the colum data to file resx

8. Resources in ResX files and Inheritance ?

9. Compressing a Resource Files (.resx)

10. .resource = .resx files?

11. Seeing default .resx file in Solution view

12. Looping through resx resource files ?

 

 
Powered by phpBB® Forum Software