Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            List <myControl> ControlList = new List <myControl>();

            foreach (Control control in arrControls)
            {
                ControlList.Add(new myControl(control.GetType().Name, control.BackColor.Name, getShape(control), control.Height, control.Width));
            }
            myControl[] myControlArray = ControlList.ToArray();
            myICommon.AddControlsToServer(myControlArray);
        }