Exemplo n.º 1
0
 private void ShowControl(object sender, ControlRenderWasRequested e)
 {
     var instance = Activator.CreateInstance(e.Control);
     if (e.Action.IsNotNull())
         e.Action(instance);
 }
Exemplo n.º 2
0
 public void OnControlRenderWasRequested(object source, ControlRenderWasRequested eventArgs)
 {
     Handle(source, ControlRenderWasRequested, eventArgs);
 }