Hi, Cedric
I'm not really clear on why you are doing things this way. If you are not
going to use all of the members, why are you cloning instead of inheriting?
Please provide more technical information and I will see what I can do to
help.
Thank you for choosing the MSDN Managed Newsgroups,
John Eikanger
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
"Microsoft highly recommends to all of our customers that they visit the
http://www.microsoft.com/protect site and perform the three straightforward
steps listed to improve your computer’s security."
--------------------
| From: "Cedric" <
[email protected]>
| Subject: Memberwiseclone on PictureBox
| Date: Thu, 2 Oct 2003 14:05:04 +0200
| Lines: 15
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#
[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: ca-sqy-14-167.w80-8.abo.wanadoo.fr 80.8.67.167
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:143104
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Hello,
|
| I try to create clone of a picturebox throught a inherited class of
| picturebox where I implemented Icloneable interface.
|
| So I use Memberwiseclone to partialy copy members and then adjust other
| properties but it's seems that memberwiseclone don't create a new
| picturebox, so I just change my first control.
|
| Is there someone have done the same thing with a picturebox or other
control
| ?
|
| Thanks
|
|
|