Connecting Tech Pros Worldwide Forums | Help | Site Map

Saving Windows Forms control properties at run-time?

Özden Irmak
Guest
 
Posts: n/a
#1: Nov 20 '05
Hello,

Is there an easy way to save some/all properties of a windows forms control
into a type of file?

I came acros with "Serializable" attribute but it seems that I have to
inherit evey windows forms control and mark them asa serializable?

Does anybody know an easy way for this?

Thanks in advance...

Özden



Ken Tucker [MVP]
Guest
 
Posts: n/a
#2: Nov 20 '05

re: Saving Windows Forms control properties at run-time?


Hi,

http://msdn.microsoft.com/library/de...et02122002.asp

http://msdn.microsoft.com/library/de...et07082003.asp

Ken
------------------
"Özden Irmak" <ozdenirmak@isnet.net.tr> wrote in message
news:%230s4QL0vDHA.536@tk2msftngp13.phx.gbl...[color=blue]
> Hello,
>
> Is there an easy way to save some/all properties of a windows forms[/color]
control[color=blue]
> into a type of file?
>
> I came acros with "Serializable" attribute but it seems that I have to
> inherit evey windows forms control and mark them asa serializable?
>
> Does anybody know an easy way for this?
>
> Thanks in advance...
>
> Özden
>
>[/color]


Tom Clement
Guest
 
Posts: n/a
#3: Nov 20 '05

re: Saving Windows Forms control properties at run-time?


Perhaps Dynamic Properties is the answer you're looking for. That causes
all properties to be written to a configuration file instead of to code.
Search for Dynamic Properties in the help and you can find all the
information you need.

Tom Clement
Apptero, Inc.


"Özden Irmak" <ozdenirmak@isnet.net.tr> wrote in message
news:%230s4QL0vDHA.536@tk2msftngp13.phx.gbl...[color=blue]
> Hello,
>
> Is there an easy way to save some/all properties of a windows forms[/color]
control[color=blue]
> into a type of file?
>
> I came acros with "Serializable" attribute but it seems that I have to
> inherit evey windows forms control and mark them asa serializable?
>
> Does anybody know an easy way for this?
>
> Thanks in advance...
>
> Özden
>
>[/color]


Closed Thread


Similar Visual Basic .NET bytes