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