Example #1
0
 /// <summary>
 /// <inheritdoc cref="IWidget.CreateWidget(ObjectFX)"/>
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public IWidgetControl CreateWidget(ObjectFX obj)
 {
     return(createWidget(obj));
 }
Example #2
0
 public virtual void OnStatusChanged(FileStatus status)
 {
     ObjectFX?.OnStatusChanged(status);
 }
Example #3
0
 public IWidgetControl CreateWidget(string widgetID, ObjectFX obj)
 {
     return(Widgets.Find(w => w.WidgetID == widgetID)?.CreateWidget(obj));
 }
Example #4
0
 public T CreateWidget <T>(string widgetID, ObjectFX obj) where T : Control
 {
     return(Widgets.Find(w => w.WidgetID == widgetID)?.CreateWidget(obj) as T);
 }
Example #5
0
 public T CreateWidget <T>(ObjectFX obj) where T : Control
 {
     return(CreateWidget <T>(obj.WidgetID, obj));
 }