Posted
How is it possible that both ShowDialog and Show aren't working? I'm trying to make a button open a page. The key word show is not popping up and it just highlights red. If I press solution to it, it says to gerneate a method which I pressed and then after that I go to the NewForm code and see this. (3rd image is what I see after perssing generate method) and then I run the app and then it taks me to the NewForm and shows this.... What do I do?? and was show even the correct keyword? Since it generated this NotImplemetedException after pressing Generate Method.
Added
I'll wait for people to respond
Cancel
Post
Added
Lol guy dms me rn and oh I got so many images that will destroy his reputation. I need to know how to send iamges on this tho.
Cancel
Post
Replied
Here are the links to the images. The links are in order from step to step. Basically the show was red so I right click it and it said for me to create a new method so I pressed that and then started my program and it stopped immeditly and it showed me this code. Which is some error exception.
https://ibb.co/KWXz5Dn
https://ibb.co/yQtqYPV
https://ibb.co/zPd1jqy
Cancel
Post
Added
I picked a page instead of a form to add a script hub since I use WPF. Also what do you meany by "form is somehow magically not Form.Show()" What do you mean, what would it be then? But I'm using a page instead of a form. But what would be the code for it to show then...
Cancel
Post
Added
(unless im remembering wrong and form is somehow magically not Form.Show()
You exactly said that. Now watch this video which show him using the show command
https://www.youtube.com/watch?v=RNeOZU1Efh8
Cancel
Post
Added
Solved my issue by doing this code.
this.Hide();
Info Info = new Info();
this.Content = Info;
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post