none
"Type 'HatchBrush" is not defined". What does it mean? RRS feed

  • Question

  • Sub DemoHatchBrush(ByVal e As PaintEventArgs)

         

    Dim g As Graphics = e.Graphics

           

    Dim hbLCB As New HatchBrush(hatchstyle.largecheckerboard, Color.Black, Color.Yellow)

           

    Dim h As Integer = MyBase.ClientSize.Width

           

    Dim w As Integer = MyBase.ClientSize.Width

            g.FillEllipse(hbLCB, 0, 0, w, h / 2)

           

    Dim hbOD As New hatchBrush(hatchstyle.wave, Color.Blue, Color.Silver)

            g.FillEllipse(hbOD, 0, h / 2, w, h / 2)

       

    End Sub


    Wednesday, February 14, 2018 2:01 AM

All replies