Search found 38 matches

by joshmond
25 Jun 2018, 00:35
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

Hey guys, I have one small problem when switching my views that's quite bizarre I am getting the intended behaviour (sort of) in that I can switch from my main window to my LoginView just fine however, when I try to switch from my LoginView to my CreateCharacterView, the button doesn't do anything. ...
by joshmond
21 Jun 2018, 13:44
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

I just want to thanks you again for all your help mate, your advice was great and I have everything working now, I can now switch between UserControls. The only thing I'm a little unsure on is two things, one is the way that I'm choosing to switch views, I'm wondering if that's ok or if there is a m...
by joshmond
21 Jun 2018, 00:18
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

If my xaml is outside of my project and my xaml.cs file is within my project, how would the paths look in the xaml because I would still need to let my xaml files know about my views and viewmodels, will they have the same namespace still, if not is is possible to reference a class in a different na...
by joshmond
20 Jun 2018, 23:26
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

Awesome, thanks so much for all your help dude. Where are the xaml files usually stored in these types of projects, would you recommend creating a folder outside the project altogether and just referencing that. You mentioned that the xaml files should be worked on in Blend, does Blend store the xam...
by joshmond
20 Jun 2018, 22:26
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

For this to work do I also have to modify the xaml file or does that stay the same? Ffter adding the noesis stuff that seems to break my xaml. Below are some screenshots of the various exceptions being thrown. How would I go about excluding the xaml but keeping the xaml.cs file as for me they show a...
by joshmond
19 Jun 2018, 13:27
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

After some messing around with the xaml, I think that the problem may lie in my heirarchy and how I've set the project up. Blow I've posted a link to my entire project, I was wondering if anyone could take a look and provide some feedback. I feel like I'm very close to solving this problem and getti...
by joshmond
18 Jun 2018, 21:35
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

When I take out my data-template in the LoginView, I still get the same error, even if I remove the ContentControl, I still have the same error message. Here is a screenshot of my UserControl xaml.




-Joshmond
by joshmond
18 Jun 2018, 15:39
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

Hey, I've tried what you suggested and I feel like I'm getting closer to having this working, instead of throwing the same error though, now it's throwing another exception which I will attach to my post. This is the code I have in my LoginView.xaml.cs now: using System.Windows.Controls; namespace P...
by joshmond
17 Jun 2018, 21:34
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

Hey guys, I just want to make sure that I understand what's going on as far as NoesisGUI is concerned because I'm still having trouble getting my views to switch with the NoesisGUI framework with MonoGame. I have created a separate WPF project using the same code I have with my project and everythin...
by joshmond
09 Jun 2018, 22:33
Forum: General Discussion
Replies: 37
Views: 6491

Re: MonoGame: switching between views

I just want to say thank you so much for your help and patience, after following your advice I was able to get my LoginView to switch without the UserControl. I do have two additional questions though. 1) If I choose not to use the UserControl for my views, can I still create complex and interactive...