Problems with references in WinForms
I added a class in WinForm named it class2
. Fr开发者_StackOverflowom that class I reference to a winform form class called chessboard
..
Winform shows me a mistake/error and writes:
The type or namespace name "
ChessBoard
" could not be found are you missing using directive or an assembly reference?
What do i do.. I am in the same project
Is "ChessBoard" capitalized exactly as it's capitalized in its class definition?
Do you have the same
namespace Whatever_Namespace
{
}
declaration around both classes?
are probably not all under the same namespace, verify that the namespace is the same for both classes.
Regards.
精彩评论