Esempio n. 1
0
        private void XTRATABPAGE4()
        {
            Dictionary <string, string> dictionary = new ComponentResourceManager(typeof(FGlobus.Mensagens.Informacoes)).GetResourceSet(System.Globalization.CultureInfo.InvariantCulture, true, true)
                                                     .OfType <System.Collections.DictionaryEntry>()
                                                     .ToDictionary(d => d.Key.ToString(), d => d.Value.ToString());

            gridControl2.DataSource = dictionary
                                      .Select(s => new
            {
                Name = s.Key,
                s.Value
            })
                                      .ToArray();
        }