コード例 #1
0
 public void ShowInContainer(IControlContainer viewContainer, GVControlAlign align)
 {
     ViewContainer = viewContainer;
     if (viewContainer != null)
     {
         viewContainer.AddControl(this, align);
     }
 }
コード例 #2
0
 public static TControl AddControlPassThrough <TControl>(this IControlContainer container, TControl control) where TControl : Control
 {
     container.AddControl(control);
     return(control);
 }