Skip Headers
Oracle® Database 2 Day + .NET Developer's Guide
11g Release 2 (11.2)

Part Number E10767-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

B Copying a Form

Because you will be using this application to learn about various aspects of application development with Oracle, you should make copies of your form for reuse.

To create a copy of an existing form:

  1. In the Solution Explorer, right-click on Form1.xx or any other file you need to copy. Select Copy.

    If Form1.xx does not appear in the Solution Explorer, from the Project menu, select Show All Files.

    Description of copy1.gif follows
    Description of the illustration copy1.gif

  2. Right-click HR_Connect_CS or other project. Select Paste.

    Description of copy2.gif follows
    Description of the illustration copy2.gif

  3. Right-click Copy of Form1.cs. Select Rename. Change the name of the form to Form2.cs.

    Description of copy3.gif follows
    Description of the illustration copy3.gif

  4. Right-click on Form2.cs, and select Include In Project.

    Description of copy4.gif follows
    Description of the illustration copy4.gif

  5. Right-click on Form1.cs, and select Exclude From Project.

    You can include and exclude forms from the project just by reversing these steps.

  6. Note:

    This process generally works smoothly. If you encounter a problem, try running Rebuild Solution from the Build menu.