منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب

نسخة كاملة : listbox + listbox فى listbox
أنت حالياً تتصفح نسخة خفيفة من المنتدى . مشاهدة نسخة كاملة مع جميع الأشكال الجمالية .
اريد اضافة items موجودة فى 3 listbox الى listbox اخرى

كود :
       For Each item In ListBox1.Items
           For Each item2 In ListBox2.Items
               For Each item3 In ListBox3.Items
                  ListBox4.Items.Add(item + item2 + item3)
               Next
           Next
       Next
لاكن هذا الكود يمككنى من اضافة اول item فقط هل من حل
PHP كود :
  ListBox4.Items.AddRange(ListBox1.Items)
 
       ListBox4.Items.AddRange(ListBox2.Items)
 
       ListBox4.Items.AddRange(ListBox3.Items
(11-10-16, 05:29 PM)silverlight كتب : [ -> ]
PHP كود :
  ListBox4.Items.AddRange(ListBox1.Items)
 
       ListBox4.Items.AddRange(ListBox2.Items)
 
       ListBox4.Items.AddRange(ListBox3.Items

جزاك الله خير