Creates a new control and adds it to the container. The added control.
()
| 189 | /// </summary> |
| 190 | /// <returns>The added control.</returns> |
| 191 | public T AddChild<T>() where T : Control |
| 192 | { |
| 193 | var child = (T)Activator.CreateInstance(typeof(T)); |
| 194 | child.Parent = this; |
| 195 | return child; |
| 196 | } |
| 197 | |
| 198 | /// <summary> |
| 199 | /// Adds the control to the container. |
nothing calls this directly
no test coverage detected