I am trying to get started with Visual Studio. I copied the example in the WLP_Indicator_Library PDF into Visual Studio.
It seems to not recognize the 'Color' type (public abstract Color DefaultColor). Specifically, I get a compile error on the DefaultColor override because "The type 'Color' is defined in an assembly that is not referenced.
If I have the C# terminology correct, the WealthLab.dll is an assembly and this dll should be defining 'Color'.
Regardless, I am at a loss as to how to correct this problem.
I have attached pictures and the code.
I appreciate any help in this regard.
Size:
Color:
Color is a .NET class so you have to add a reference to System.Drawing in Solution Explorer and then a
using clause:
CODE:
Please log in to see this code.
Size:
Color:
Thank you. I did previously try "using System.Drawing" but VS did not recognize that. Adding the Solution Explorer reference worked.
Thanks again.
Also, please note that after I posted this original request, I came back and could not find it. Consequently, I reposted this request. Then, poking around I found my original post with your response.
I apologize for the inconvenience I might have caused by the repost.
Size:
Color:
You're welcome. No problem with the repost. Always glad to help.
Size:
Color: