public MainWindow() { InitializeComponent(); Init(); Closing += (a, b) => context.Dispose(); }
public void Abort() { t?.Abort(); _context?.Dispose(); IsLoaded = false; }