You need to copy MiddlePage.cs

You need a separate .cs file for each page. So you'll need to copy MiddlePage.cs to OtherPage.cs, AnotherPage.cs, YetAnotherPage.cs and then edit those separately.

Obviously, those are lousy names; you should name the pages based on what's on them. For example, you might have pages called UserDetailsPage.cs and DatabaseConnectionDetailsPage.cs, or whatever makes sense in your program.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <br> <code> <dd> <dl> <dt> <hr> <h1> <h2> <h3> <i> <img> <li> <ol> <p> <pre> <table> <td> <th> <tr> <tt> <u> <ul>
  • Images can be added to this post.

More information about formatting options