Hello :)
I have several windows/forms in my application. I would like to do simple thing. Make a button on one form that will load and display another form. Simple as that.
I have tried the following, but with no success:
The following code is located in the start window, the one that start first when the application is loaded
Menu menu = new Menu(); menu.show();
|
The problem is with the menu.show();
It is underlined in red with the following error.
Error 1 'FIFI.Dobrodosli' does not contain a definition for 'show' and no extension method 'show' accepting a first argument of type 'FIFI.Dobrodosli' could be found (are you missing a using directive or an assembly reference?) C:\Users\vedran\Desktop\Development\C#\Children Browser Projekat\WPF Start\Ver 2.6 - Play Logic Devised\FIFI\FIFI\Window1.xaml.cs 462 25 FIFI
|
When I type menu and I hit period, I should get a Show method, but its not there.
I dont know, this might be totally wrong way to do this thing. What is the easiest way to accomplish it?