コード例 #1
0
        public void LoadTransType(ComboBox cb)
        {
            List <string> collection = TranscationType.ToList();

            foreach (string item in collection)
            {
                cb.Items.Add(item);
            }
        }
コード例 #2
0
        public void LoadPayMode(ComboBox cb)
        {
            List <string> collection = TranscationType.ToList();

            foreach (string item in collection)
            {
                cb.Items.Add(item);
                Console.WriteLine("item={0}", item);
            }
            Console.WriteLine("CB={0}, List={1}", cb.Items.Count, collection.Count);
        }