-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lab8 black sreen #31
Comments
I met the same problem with you. Waiting for someone help us.... |
I ran into the same problem, but after some digging I managed to find what was the problem for me. At some point you're asked to add SetupCurrentDisplay (DEFAULT_DISPLAYFRAMETYPE) to your newly declared MainPage_Loaded.
When you do this you this you also need to make sure that you remove the SetupCurrentDisplay (DEFAULT_DISPLAYFRAMETYPE) from the MainPage() (as mentioned in Lab8). I, sadly enough, forgot to do this and ended up declaring it twice. That means that your MainPage() should go from this:
To this:
If this was the case, then after changing this, everything should work as intended. I hope this helps! |
I think I have already removed it ...And I used the code offered by the author, the same problem happened.. |
when I run the code of lab 8,it was built successfully,but the mainwindow is black , I don't know what to do and anyone met the same problem with me?
The text was updated successfully, but these errors were encountered: