Click here to Skip to main content
16,012,223 members
Home / Discussions / C#
   

C#

 
Generalhowto: multi-languaged gui Pin
Rüpel18-Jun-02 0:29
Rüpel18-Jun-02 0:29 
GeneralRe: howto: multi-languaged gui Pin
Zombies with Coffee, LLC18-Jun-02 6:09
professionalZombies with Coffee, LLC18-Jun-02 6:09 
GeneralRe: howto: multi-languaged gui Pin
Rüpel18-Jun-02 20:51
Rüpel18-Jun-02 20:51 
GeneralRe: howto: multi-languaged gui Pin
Zombies with Coffee, LLC19-Jun-02 3:55
professionalZombies with Coffee, LLC19-Jun-02 3:55 
GeneralRe: howto: multi-languaged gui Pin
Michael Mac19-Jun-02 3:57
Michael Mac19-Jun-02 3:57 
GeneralRe: howto: multi-languaged gui Pin
Michael Mac19-Jun-02 4:35
Michael Mac19-Jun-02 4:35 
GeneralRe: howto: multi-languaged gui Pin
Rüpel21-Jun-02 0:51
Rüpel21-Jun-02 0:51 
GeneralRe: howto: multi-languaged gui Pin
Michael Mac21-Jun-02 2:13
Michael Mac21-Jun-02 2:13 
The globalization function is cool.
The C# designer seems not to work correctly with custom classes, for example Menu. Frown | :(

I use globalization but I don't use designer. I write my own code.
This code use Carlos H. Perez's library - designer is not supported.
There is only one minus of it. You must create the resources yourself using resgen.exe and al.exe
private System.Resources.ResourceManager m_mResources = new System.Resources.ResourceManager(typeof(MainForm));
// MainMenu
ToolBarEx menuToolBar = new ToolBarEx( BarType.MenuBar );
			
// Menu File and its submenu
ToolBarItem menuFile = new ToolBarItem( (string)(m_mResources.GetObject("Menu.File")) );
MenuItem[] submenuFile = new MenuItem[3];
submenuFile[0] = new MenuItemEx( (string)(m_mResources.GetObject( 
       "Menu.File.Options")), new EventHandler( OptionsHandler ), Shortcut.CtrlO );
submenuFile[1] = new MenuItemEx( "-", null );
submenuFile[2] = new MenuItemEx( (string)(m_mResources.GetObject( 
      "Menu.File.Close")), new EventHandler( CloseHandler ) );

menuFile.MenuItems = submenuFile;





43 68 65 65 72 73 2c
4d 69 63 68 61 65 6c
QuestionCan not close the window Pin
Iftekhar Ivaan17-Jun-02 9:22
Iftekhar Ivaan17-Jun-02 9:22 
AnswerRe: Can not close the window Pin
Rüpel18-Jun-02 0:09
Rüpel18-Jun-02 0:09 
GeneralRe: Can not close the window Pin
Iftekhar Ivaan18-Jun-02 8:10
Iftekhar Ivaan18-Jun-02 8:10 
GeneralRe: Can not close the window Pin
Rüpel18-Jun-02 20:45
Rüpel18-Jun-02 20:45 
GeneralRe: Can not close the window Pin
Iftekhar Ivaan19-Jun-02 3:40
Iftekhar Ivaan19-Jun-02 3:40 
GeneralA stupid question Pin
Abin17-Jun-02 5:46
Abin17-Jun-02 5:46 
GeneralRe: A stupid question Pin
17-Jun-02 10:15
suss17-Jun-02 10:15 
GeneralRe: A stupid question Pin
Iftekhar Ivaan17-Jun-02 10:30
Iftekhar Ivaan17-Jun-02 10:30 
GeneralRe: A stupid question Pin
17-Jun-02 17:20
suss17-Jun-02 17:20 
Generalpaging dataGrid events Pin
sharon17-Jun-02 2:21
sharon17-Jun-02 2:21 
GeneralRe: paging dataGrid events Pin
sharon17-Jun-02 19:32
sharon17-Jun-02 19:32 
GeneralRe: paging dataGrid events Pin
Rüpel18-Jun-02 0:12
Rüpel18-Jun-02 0:12 
GeneralRe: paging dataGrid events Pin
sharon18-Jun-02 20:36
sharon18-Jun-02 20:36 
GeneralRe: paging dataGrid events Pin
Rüpel18-Jun-02 20:43
Rüpel18-Jun-02 20:43 
Generalgetting a disabled picture Pin
Rüpel17-Jun-02 1:43
Rüpel17-Jun-02 1:43 
GeneralRe: getting a disabled picture Pin
Rüpel17-Jun-02 3:39
Rüpel17-Jun-02 3:39 
GeneralGetting favourite list of Internet Explorer dynamically..... Pin
Pranoti16-Jun-02 23:08
Pranoti16-Jun-02 23:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.