The name of the Form that I added in the project is AuthorForm. And so my code in the Click event of the menu item is:
Form AuthForm = new AuthorForm();
AuthForm.Show();
The intellisense is quite upon type AuthForm but at runtime it gives an error:
The type or namespace name 'AuthorForm' could not be found (are you missing a using directive or an assembly reference?)
Any idea?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only