Exemple #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);
     }
 }
Exemple #2
0
 internal void TriggerWidgetCreated(WidgetCreatedEventArgs args)
 {
     OnWidgetCreated(args);
 }
Exemple #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);
 }