JaedenRuiner 0 Newbie Poster

Okay,

I've read the documentation about Class INitializers, but they don't work for me.

Public class FGBGColors 
  'Inconsequential class
end Class

Public Class ColorTableClass

	Private m_HdrClrs = New FGBGColors With { _   ' <- End of Statement Expected
		.ForeColor = Color.Black, _
		.BackColor = Color.Gray, _
	}

end class

NOw this is done identical to MSDN.com but that's site is such BS because this has never worked.

Jaeden "Sifo Dyas" al'Raec Ruiner

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.