Re: How to I manipulate a form to satisfy to customer.
- From: "Nick Hounsome" <nh002@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 14:11:44 GMT
"Michael C" <nospam@xxxxxxxxxx> wrote in message
news:OIlj0pyOGHA.3924@xxxxxxxxxxxxxxxxxxxxxxx
"Nick Hounsome" <nh002@xxxxxxxxxxxxxxxxxx> wrote in message
news:3eVKf.43672$YJ4.36360@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Use an If statement
Ha ha.
I'm not sure why you find that funny, the differences for the 2 customers
are very minor so just have an if statement to implement the different
functionality.
I honestly thought it was supposed to be funny.
I think it is probably safe to say that the OP had already thought of using
an IF statement.
Create an interface with properties, methods and events for the logical
form content (the union of the 2).
Create 2 forms implementing the interface.
Use MVC/MVP pattern with the interface as the view.
Load one form or the other using app config files.
The OP stated he wanted to do this without creating 2 forms as they are
almost identical.
I thought that what he was trying to do was break a mutual dependency
between 2 forms in 2 dlls but since I haven't got the original anymore I
can't say that you are wrong.
.
- Follow-Ups:
- Re: How to I manipulate a form to satisfy to customer.
- From: Steven Nagy
- Re: How to I manipulate a form to satisfy to customer.
- References:
- How to I manipulate a form to satisfy to customer.
- From: Tony Johansson
- Re: How to I manipulate a form to satisfy to customer.
- From: Michael C
- Re: How to I manipulate a form to satisfy to customer.
- From: Nick Hounsome
- Re: How to I manipulate a form to satisfy to customer.
- From: Michael C
- How to I manipulate a form to satisfy to customer.
- Prev by Date: Event Invocation List
- Next by Date: Re: C# beginners question
- Previous by thread: Re: How to I manipulate a form to satisfy to customer.
- Next by thread: Re: How to I manipulate a form to satisfy to customer.
- Index(es):
Relevant Pages
|