lsit of color problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • GS

    lsit of color problem

    I having trouble despite searching the net

    Dim colors As New List(Of Color)(256)
    Dim c1 As Color, c2 As Color


    ' after adding some colors to the colors

    c2 = colors.Find(c1) ' gives me
    'Error 1 Value of type 'System.Drawing .Color' cannot be converted to
    'System.Predica te(Of System.Drawing. Color)'. ...


Working...