السلام عليكم ورحمة الله وبركاتة
كيف حالكم شباب
شباب انا قمت بعمل فورم وحاولت اغير خصائص الفورم من نافذة اخرى
بس للاسف انا الخصائص والالوان ماتتغير مدري اش المشكله رغم ان الاكواد ماشوف فيها خطاء
هذا هو الكود اللي كتبته
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New Form1 If r1.Checked = True Then x.BackColor = System.Drawing.Color.Blue End If If r2.Checked = True Then x.BackColor = System.Drawing.Color.Red End If If r3.Checked = True Then x.BackColor = System.Drawing.Color.Brown End If If r4.Checked = True Then x.BackColor = System.Drawing.Color.Green End If If r5.Checked = True Then x.BackColor = System.Drawing.Color.Black End If If r6.Checked = True Then x.FormBorderStyle = FormBorderStyle.Fixed3D End If If r7.Checked = True Then x.FormBorderStyle = FormBorderStyle.FixedToolWindow End If End Sub
وهذا المشروع في المرفقات
القوا عليه نظرة واعطوني الحلول
وفي انتظار ردودكم
وتقبلوا تحيتي
وفمان الله