public static void InitializeControl(
     CustomCheckbox custom,
     DocumentContainer container,
     ErrorProvider provider)
 {
     custom.DocumentLoaded = true;
     custom.Initialize(container);
 }
 public void Visit(CustomCheckbox control)
 {
     control.DocumentLoaded = true;
     control.Initialize(container);
 }