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

كود:
    Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated
        Me.Hide()
        Dim r_t As Byte
        Randomize()
        r_t = Rnd() * 5
        If r_t = 1 Then Me.Show()
        If r_t = 2 Then Form2.Show()
        If r_t = 3 Then Form3.Show()
        If r_t = 4 Then Form4.Show()
        If r_t = 5 Then Form5.Show()
    End Sub
__________________
يخطئ من يظن أن للذئاب ديناً