Hello. I'd like to know if it is possible to convert from a string with a color name to Color object so that I could write a name of a color and change a datagrid row color to the new one given by the written name. Thank you.
N
nunom_c
@nunom_c
Posts
-
Convert from string to a color -
Raise up a datagrid paint eventHello. I am trying to change some datagrid row colours. I've already created a new paint function that needs the following parameters: System.Drawing.Graphics g, System.Drawing.Rectangle bounds, CurrencyManager source, int rowNum, System.Drawing.Brush backBrush, System.Drawing.Brush foreBrush, bool alignToRight. Then I want to call this function in the datagrid paint event but I need the correct parameters.How can I do this??? Thanks.
-
EventsHello. How can I fire up a button event without pressing the button? Thank you