Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / May 2006

Tip: Looking for answers? Try searching our database.

ShouldSerialize

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
João Santa Bárbara - 17 Apr 2006 18:51 GMT
Hi all
i have 3 forms and the all inherited from each others, and in the base form
i have a custom control with a complex structure property (" MyProperty as
ComplexStructure )
and my problem is, i just want to change this property in the base (form1)
and i want to serialize the code for it, bu in the other 2 forms, the same
code is serialize. is there any way to fix this !?

hi have this method in my object
Private Function ShouldSerializeCompl.... ()
   return me.xCom.....IsThereAnyChange
End Function

of course every time i open the designer ( in Form2 and Form3) both detects
the changes that i have made in form1 Control.

thks
JSB
G Himangi - 02 May 2006 11:22 GMT
You could try making the ShouldSerializeCompl method virtual and override it
in the derived classes to return False.

G Himangi, Sky Software
http://www.ssware.com
*Shell MegaPack for ActiveX & .Net : Advanced Controls for Drop-In Windows
Explorer GUI for your App.
*EZNamespaceExtensions.Net : Rapid Development of Shell Namespace Extensions
in .Net
*EZShellExtensions.Net : Rapid Development of IE Toolbars, IE Explorer Bars
& Windows Shell Extensions in .Net

> Hi all
> i have 3 forms and the all inherited from each others, and in the base
[quoted text clipped - 14 lines]
> thks
> JSB

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.