Пример #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);
     }
 }
Пример #2
0
 internal void TriggerWidgetCreated(WidgetCreatedEventArgs args)
 {
     OnWidgetCreated(args);
 }
Пример #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);
 }