Wednesday, October 22, 2014

Get Back Colors From Access in C#

I'm not sure what you mean by "set background colors", but to create a Color object that can be used with the .NET framework, you would construct it like so for your first color:



System.Drawing.Color color = System.Drawing.Color.FromArgb(153, 255, 255);

That is purely from looking at the definition of the Color struct given here: http://ift.tt/1jD0Zn6


If you would like to know how to apply this color to the "background", you need to give me context on what background you are talking about.


No comments:

Post a Comment