Forum > Coding >

Adding Tabs

Posts: 28

Threads: 10

Joined: Jun, 2022

Reputation: -4

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.

  • 0

Added

I'll wait for people to respond

  • 0

Added

@Murz

 

Wait how I send images?

  • 0

Added

@atari

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.

  • 0

Added

@atari

SirWeeb just fake news

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

@erwerwer sure man, I spread fake news....

  • 0

Posts: 28

Threads: 10

Joined: Jun, 2022

Reputation: -4

Replied

@Murz

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

  • 0

Added

@Murz

 

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...

  • 0

Added

@Murz

So what do I do?

  • 0

Added

@Murz

(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

  • 0

Added

Solved my issue by doing this code.

            this.Hide();

            Info Info = new Info();

            this.Content = Info;

 

  • 0

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )