|
-
Jul 14th, 2006, 02:28 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Make a form very similar to existing one
Hi,
My app will have two forms which have quite a few controls but are 90% the same. frmCustomers and frmProducts.
I created frmCustomers, and now I need to make the second one.
Since the 2nd one is almost identical to the first one, I was hoping to somehow copy and rename the first one and just make the changes and save under frmProducts.
Otherwise I have to create the 2nd form from scrach.
Is it possible?
-
Jul 14th, 2006, 05:53 PM
#2
Re: Make a form very similar to existing one
From the "Solution Explorer" right click your project and go-to "Add==>Add Inherited Form" and select your original form...
You can Also copy the "Designer generated" region from the first form and copy it to the second form, you might need to fix a few names (Not a big deal)
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 15th, 2006, 07:55 AM
#3
Re: Make a form very similar to existing one
Or you could just change the inheritence line in your 'child' form to make it inherit from your original form.
-
Jul 15th, 2006, 08:10 AM
#4
Re: Make a form very similar to existing one
 Originally Posted by mendhak
Or you could just change the inheritence line in your 'child' form to make it inherit from your original form.
That's just exactly what I said in the first line
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jul 15th, 2006, 08:24 AM
#5
Re: Make a form very similar to existing one
Maybe you should read it again.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|