1
I made a tiny desktop application using wpf. I have a very simple login screen and this screen should call the main screen. I did so:
Menu menu = new Menu();
menu.Show();
You are making a mistake in the show, saying that you are not recognized. The namespace System.Windows
is added to the project.
What’s the mistake exactly?
– Jéf Bueno
@LINQ, says Menu does not contain a definition for Show(). Do I need to add some Assembly?
– pnet
Which menu is namespace? If from
System.Windows.Controls
this method there is no and it wouldn’t even make sense to exist.– Jéf Bueno
@LINQ, Menu is a class I created and it’s her I want to show.
– pnet
I think it was the name of the Menu class that I created and coincided with some reserved name. I created a new class with another name and it worked.
– pnet