| 1234567891011121314151617181920212223242526 | using InABox.Wpf;using System;using System.Windows;namespace InABox.DynamicGrid{    /// <summary>    ///     Interaction logic for DynamicImportList.xaml    /// </summary>    public partial class DynamicImportList : ThemableWindow    {        public DynamicImportList(Type entitytype, Guid entityid)        {            InitializeComponent();            Imports.EntityType = entitytype;            Imports.EntityID = entityid;            Imports.OnImportItem += o => { return OnImportItem != null ? OnImportItem.Invoke(o) : true; };            Imports.OnCustomiseImport += (o, e) => { OnCustomiseImport?.Invoke(o, e); };            Imports.Refresh(true, true);        }        public event OnImportItem OnImportItem;        public event OnCustomiseImport OnCustomiseImport;    }}
 |