emi_sastra
asked on
SET COLOR PROBLEM
Hi All,
I have a class to set dgv color.
dgv.RowHeadersDefaultCellS tyle.Selec tionForeCo lor = Color.White
I get compile error :
Error 1 'Color' is not declared. It may be inaccessible due to its protection level.
What's wrong ?
Thank you.
I have a class to set dgv color.
dgv.RowHeadersDefaultCellS
I get compile error :
Error 1 'Color' is not declared. It may be inaccessible due to its protection level.
What's wrong ?
Thank you.
Add:
...to the top of your code file.
Imports System.Drawing
...to the top of your code file.
ASKER
Hi All,
I've already Imports System.Drawing.
The problem still exist.
Thank you.
I've already Imports System.Drawing.
The problem still exist.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi kaufmed,
-Do you have a reference to System.Drawing.dll in your project?
No.
Now I have included and problem gone.
Thank you very much for your help.
-Do you have a reference to System.Drawing.dll in your project?
No.
Now I have included and problem gone.
Thank you very much for your help.
System.Drawing
namespace included?