i'm using the drawingfunctions in asp.net, and are very pleased with this. However, when i design a button, i have to write several lines for in order to design them proper. <BR>eks:<BR>this.sendButton.BackColor = System.Drawing.Color.Black;<BR>this.sendButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;<BR>this.sendButton.ForeColor = System.Drawing.Color.White;<BR><BR>and so on.<BR><BR>i tried to make a function, that sets the design cause, i'm using the same design on almost all the buttons.<BR>i formed it like this:<BR>public void ButtonDesign(System.Windows.Forms.Button inButton)<BR>{<BR> inButton.Text = "hey";<BR>}<BR><BR>and called it up<BR>ButtonDesign(this.sendButton);<BR><BR><BR>this didn't work and i'm wondering if anyone know any good articles or have any ideas on how to solve this problem.<BR><BR>i'm very thankful for any respons