R
R A
Hi
I write the registry value using the following:
Size size = new Size (100, 500);
Key.SetValue (ClientSizeName, size);
How can I retreive the value back to a Size type?
When I use
System.Type t = Key.GetValue (ClientSizeName).GetType ();
It comes back as a string, and thats ok because thats how it gets stored in
the registry. I wonder if there is a way to get it back as a Size type, or
do I have to manipulate the string?
Thanks,
Ronen
I write the registry value using the following:
Size size = new Size (100, 500);
Key.SetValue (ClientSizeName, size);
How can I retreive the value back to a Size type?
When I use
System.Type t = Key.GetValue (ClientSizeName).GetType ();
It comes back as a string, and thats ok because thats how it gets stored in
the registry. I wonder if there is a way to get it back as a Size type, or
do I have to manipulate the string?
Thanks,
Ronen