M
Michael Howes
I have a strange "warning" that shows up during design time in my current
project.
I have a UserControl, which contains a public enum called ViewTypes
This UserControl also has a public property of type ViewTypes called
ViewType
When I dropped this control onto a form the following line of code gets
added by the designer
this.rtdFileList.ViewType =
MainNS.WinControlsNS.RTDFileList.ViewTypes.QUANT;
But when I open the project the following, I assume "warning" shows up in
the Task List Build Errors (I haven't even built yet!)
"The variable 'ViewTypes' is either undeclared or was never assigned."
Huh?
There is no variable ViewTypes!
When I click on the error it takes me to the line of code above. Again Huh?
and the project builds and runs just find
what is going on here?
thanks
mike
project.
I have a UserControl, which contains a public enum called ViewTypes
This UserControl also has a public property of type ViewTypes called
ViewType
When I dropped this control onto a form the following line of code gets
added by the designer
this.rtdFileList.ViewType =
MainNS.WinControlsNS.RTDFileList.ViewTypes.QUANT;
But when I open the project the following, I assume "warning" shows up in
the Task List Build Errors (I haven't even built yet!)
"The variable 'ViewTypes' is either undeclared or was never assigned."
Huh?
There is no variable ViewTypes!
When I click on the error it takes me to the line of code above. Again Huh?
and the project builds and runs just find
what is going on here?
thanks
mike