Dodałem do mojej aplikacji WindowsForm nowe okno WPF o nazwie novoLogin.Otwórz okno WPF w aplikacji WindowsForm APP
Po dodaniu go dodałem odniesienie do system.xaml .... debug fine.
Teraz próbuję otworzyć to nowe okno z istniejącego WindowsForm.
novoLogin nl = new novoLogin();
nl.show();
Kompilator daje ten błąd:
Error 1 'WindowsFormsApplication1.novoLogin' does not contain a definition for 'show' and no extension method 'show' accepting a first argument of type 'WindowsFormsApplication1.novoLogin' could be found (are you missing a using directive or an assembly reference?)
Wiesz, że C# jest wielkość liter, prawda? – madd0