I've created a new window in wpf named AfterLogin. I'm trying to open it with button like
VMR_Launcher.AfterLogin af = new VMR_Launcher.AfterLogin();
af.Show();
and like that
AfterLogin af = new AfterLogin();
af.Show();
It throws error Cannot locate resource AfterLogin.xaml
I have other windows too, but they working with those commands, and this afterlogin not. idk why. Every new window doesn't work too.