PC Review


Reply
Thread Tools Rate Thread

Saving Windows Forms control properties at run-time?

 
 
Özden Irmak
Guest
Posts: n/a
 
      10th Dec 2003
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


 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      11th Dec 2003
Hi,

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

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

Ken
------------------
"Özden Irmak" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Tom Clement
Guest
Posts: n/a
 
      12th Dec 2003
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" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Windows Forms Properties Design Time vrs Run Time cleo Microsoft VB .NET 3 3rd Jul 2004 05:31 PM
Saving complex properties of a windows forms component into a XML file (like Image,TabPage,etc.)? Özden Irmak Microsoft VB .NET 4 22nd Dec 2003 04:09 PM
Saving complex properties of a windows forms component into a XML file (like Image,TabPage,etc.)? Özden Irmak Microsoft C# .NET 4 22nd Dec 2003 04:09 PM
Saving complex properties of a windows forms component into a XML file (like Image,TabPage,etc.)? Özden Irmak Microsoft Dot NET Framework Forms 4 22nd Dec 2003 04:09 PM
Saving Windows Forms control properties at run-time? Özden Irmak Microsoft VB .NET 2 12th Dec 2003 01:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:08 PM.