            if (this.ControlAutomationId != string.Empty){                 //                (control as System.Windows.Forms.Control).GetType().GetProperty("Name").SetValue(control, this.ControlAutomationId, null);                 //            } else {                 //                (control as System.Windows.Forms.Control).GetType().GetProperty("Name").SetValue(control, _controlType, null);                 //            }                 (control as Control).GetType()                     .GetProperty("Name")                     .SetValue(control,                     controlToForm.Control