Renaming a class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dragonslayer008@hotmail.com

    #1

    Renaming a class

    Hi I have a designer generated class when I made a user control
    project. There is a comment warning:

    /// WARNING: If you change the name of this class, you will need to
    change the
    /// 'Resource File Name' property for the managed resource
    compiler tool
    /// associated with all .resx files this class depends on.
    Otherwise,
    /// the designers will not be able to interact properly with
    localized
    /// resources associated with this form.



    Can someone explain the steps in more detail? I opened the .resx file,
    but could not find the "Resource File Name" property.
  • Mythran

    #2
    Re: Renaming a class



    <dragonslayer00 8@hotmail.comwr ote in message
    news:b639ea59-e6ce-4bd5-b624-fe94aabacaf5@e1 0g2000prf.googl egroups.com...
    Hi I have a designer generated class when I made a user control
    project. There is a comment warning:
    >
    /// WARNING: If you change the name of this class, you will need to
    change the
    /// 'Resource File Name' property for the managed resource
    compiler tool
    /// associated with all .resx files this class depends on.
    Otherwise,
    /// the designers will not be able to interact properly with
    localized
    /// resources associated with this form.
    >
    >
    >
    Can someone explain the steps in more detail? I opened the .resx file,
    but could not find the "Resource File Name" property.
    From the looks of it, you select each .resx file and then open the
    properties for those files (F4), then change the Resource File Name property
    to be similar to what you renamed the class to.

    HTH,
    Mythran


    Comment

    Working...