Ways to replace part of a menu language when using Infragistics's NetAdvantage component

Source: Internet
Author: User

Infragistics's netadvantage components are very useful, but some automatic menu is English, has been trying to replace the Chinese, the following is the study of the whole afternoon out of a few lines of code, it seems difficult to find such information on the Internet, The string resource ID of the replacement resource file is my own. NET Reflector to find out, I hope to help you, save a little time for everyone.

Some places may not be translated properly, forgive me.

The following are key codes that can be placed into the load event of the form.

Infragistics.Shared.ResourceCustomizer rc =INFRAGISTICS.WIN.ULTRAWINTOOLBARS.RESOURCES.CUSTOMIZER;RC. Setcustomizedstring ("Minimizeribbon","Hide Ribbon (&n)"); RC. Setcustomizedstring ("mdicommandarrangeicons","Arrange Icons (&a)"); RC. Setcustomizedstring ("Mdicommandcascade","Cascade (&C)"); RC. Setcustomizedstring ("mdicommandclosewindows","Close all windows (&l)"); RC. Setcustomizedstring ("mdicommandminimizewindows","Minimize All Windows"); RC. Setcustomizedstring ("Mdicommandtilehorizontal","tile Horizontally (&z)"); RC. Setcustomizedstring ("mdicommandtilevertical","vertical tiling (&v)"); RC=INFRAGISTICS.WIN.ULTRAWINTABBEDMDI.RESOURCES.CUSTOMIZER;RC. Setcustomizedstring ("Menuitemcancel","Cancel (&a)"); RC. Setcustomizedstring ("Menuitemclose","Close (&c)"); RC. Setcustomizedstring ("menuitemmaximize","maximized (&m)"); RC. Setcustomizedstring ("Menuitemmovetonextgroup","Move to Next Tab Group (&X)"); RC. Setcustomizedstring ("Menuitemmovetopreviousgroup","move to the previous?? Tab Group (&R)"); RC. Setcustomizedstring ("Menuitemnewhorizontalgroup","in the New Horizontal tab group display (&Z)"); RC. Setcustomizedstring ("Menuitemnewverticalgroup","in the New Vertical tab Group display (&V)"); RC. Setcustomizedstring ("Locktoolbars","Lock the toolbar (&l)");

Ways to replace part of a menu language when using Infragistics's NetAdvantage component

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.