Exemplo n.º 1
0
 /// <summary>
 /// Handles the <see cref="WidgetCreated"/> event
 /// </summary>
 /// <param name="e">Arguments for the event</param>
 protected virtual void OnWidgetCreated(WidgetCreatedEventArgs e)
 {
     Eto.Style.OnStyleWidgetDefaults(e.Instance);
     if (WidgetCreated != null)
     {
         WidgetCreated(this, e);
     }
 }
Exemplo n.º 2
0
 internal void TriggerWidgetCreated(WidgetCreatedEventArgs args)
 {
     OnWidgetCreated(args);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Handles the <see cref="WidgetCreated"/> event
 /// </summary>
 /// <param name="e">Arguments for the event</param>
 protected virtual void OnWidgetCreated(WidgetCreatedEventArgs e)
 {
     Eto.Style.Provider?.ApplyDefault(e.Instance);
     WidgetCreated?.Invoke(this, e);
 }