Private Sub Button40_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button40.Click<br> Label20.BackColor = Color.Black<br> Label20.Text = \
จะแก้ปัญหาการใช้arrayเปลี่ยนสีหลายเส้นอย่างไรเพราะโปรแกรมERRORตรงBorderStyleในบรรทัดLineShape(i) = BorderStyle = Drawing2D.DashStyle.Dash Private Sub Button40_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button40.Click Label20.BackColor = Color.Black Label20.Text = "2S-02 OFF" Label20.ForeColor = Color.Yellow Dim LineShape() As Integer = {20, 21, 22, 62} For i = 0 To LineShape.GetUpperBound(0) LineShape(i).BorderStyle = Drawing2D.DashStyle.Dash Next End Sub End Class
Error 1 'BorderStyle' is not a member of 'Integer'.