Example #1
0
            public void ApplyLocale(CLocalization aSender)
            {
                XmlNode lMenuNode = aSender.GetMenuTexts("collectionFolderContext");

                if (lMenuNode != null)
                {
                    ItemNewFolder.Text    = XmlTools.GetNode(lMenuNode, "addFolder").InnerText;
                    ItemRenameFolder.Text = XmlTools.GetNode(lMenuNode, "renameFolder").InnerText;
                    ItemRemoveFolder.Text = XmlTools.GetNode(lMenuNode, "deleteFolder").InnerText;
                }
            }
            public void ApplyLocale(CLocalization aSender)
            {
                XmlNode lMenuNode = aSender.GetMenuTexts("collectionFolderContext");

                                if (lMenuNode != null) {
                                        ItemNewFolder.Text = XmlTools.GetNode(lMenuNode, "addFolder").InnerText;
                                        ItemRenameFolder.Text = XmlTools.GetNode(lMenuNode, "renameFolder").InnerText;
                                        ItemRemoveFolder.Text = XmlTools.GetNode(lMenuNode, "deleteFolder").InnerText;
                                    }
            }