© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•17mo ago•
120 replies
Merineth

✅ WPF Application, renaming

So i'm currently going through an assignment and creating the necessary classes which our WPF program should have. However i got a question...

It says i should rename the initial MainWindow to GameWindow. Does that mean i rename
MainWindow.xaml.cs
MainWindow.xaml.cs
to
GameWindow.xaml.cs
GameWindow.xaml.cs
? The problem is if i do that i get an error..
image.png
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

❔ WPF Application
C#CC# / help
3y ago
Embed external application in wpf application
C#CC# / help
3y ago
[WPF] How to layout my WPF application
C#CC# / help
2mo ago
❔ Socket connection in WPF application
C#CC# / help
3y ago