عرض مشاركة واحدة
  #2  
قديم 23-07-2013, 11:02 PM
الصورة الرمزية hassanalhawy
hassanalhawy hassanalhawy غير متواجد حالياً
مــٌــعلــم
 
تاريخ التسجيل: Sep 2010
المشاركات: 1,514
معدل تقييم المستوى: 16
hassanalhawy is on a distinguished road
افتراضي

كود:
        Dim r_t As Byte
        TextBox1.Visible = False
        TextBox2.Visible = False
        TextBox3.Visible = False
        TextBox4.Visible = False
        TextBox5.Visible = False
        Randomize()
        r_t = Rnd() * 5
        If r_t = 1 Then TextBox1.Visible = True
        If r_t = 2 Then TextBox2.Visible = True
        If r_t = 3 Then TextBox3.Visible = True
        If r_t = 4 Then TextBox4.Visible = True
        If r_t = 5 Then TextBox5.Visible = True
__________________
يخطئ من يظن أن للذئاب ديناً