N
nicolasr
Hi,
is it possible to assign all properties of a control given another
control of the same type? From Borland Delphi/C++Builder
I am used to the Assign method which copies all properties
at once like this:
(pseudo code)
Button1 = new Button;
Button1.Width = 20;
Button1.Height = 20;
Button2.Assign(Button1);
Now Button2 has the same dimensions as Button1.
Is anything similar available in the dotnet framework?
thanks,
Nick
is it possible to assign all properties of a control given another
control of the same type? From Borland Delphi/C++Builder
I am used to the Assign method which copies all properties
at once like this:
(pseudo code)
Button1 = new Button;
Button1.Width = 20;
Button1.Height = 20;
Button2.Assign(Button1);
Now Button2 has the same dimensions as Button1.
Is anything similar available in the dotnet framework?
thanks,
Nick