| |

VerySource

 Forgot password?
 Register
Search
View: 693|Reply: 9

About the overload of the PAGE class and the design view cannot be opened

[Copy link]

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-23 21:40:01
| Show all posts |Read mode
consult
I rewritten the PAGE class, and when I created a new page class, inherited the qualified overloaded PAGE class, but this way, the design view of this page class could not be opened, prompting that when creating the overloaded class, Exception, although this does not affect compilation, it feels very inconvenient. Is there any way to solve it?
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-2-8 12:30:01
| Show all posts
try
:
Put the parent class of this page in another project and reference the dll.
Reply

Use magic Report

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-2-8 14:00:01
| Show all posts
I did it this way, but I still ca n’t open it
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-2-8 14:45:01
| Show all posts
I have encountered this situation before.
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-2-8 15:15:01
| Show all posts
It mainly appears when the project has just been opened and has not been compiled. Compiling once is sufficient.
Reply

Use magic Report

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-2-8 16:15:01
| Show all posts
Can you elaborate?
I tried everything, but I still ca n’t open it
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-2-8 18:00:01
| Show all posts
Compile the project once and close the window. Reopening the design view of the file will not prompt that the class failed to load ...

But the next time you open the project, this will still be the case.
Reply

Use magic Report

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-2-9 13:30:01
| Show all posts
Useless, unless you change the class name to page
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2020-2-10 22:45:01
| Show all posts
Is there any specific exception information?
Reply

Use magic Report

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-3-4 22:30:01
| Show all posts
No
Is that the design view cannot be opened
Compile and run without problems
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list