Don't you think it looks like your copy of MSDN is broken?
Just looks at both classes:
http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.aspx[
^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.form.aspx[
^].
First have a property
System.Windows.Forms.ColorDialog.Color
, another one — the property
System.Windows.Forms.Form.BackColor
. It looks nothing can prevent it to read one and assign the color value to another one.
Moreover, you can do it for all currently open forms as you have a property
System.Windows.Forms.Application.OpenForms
:
http://msdn.microsoft.com/en-us/library/system.windows.forms.application.openforms.aspx[
^].
Did you ever try to count how many types and type members come with .NET libraries? Think about it. If you cannot learn how to find what you need using Google, Bing or MSDN by yourself and are going to ask a question on each one, you won't have time to complete even a single project.
—SA