protected override void OnClosed() { base.OnClosed(); UsersLogic.Dispose(); BooksLogic.Dispose(); OrdersLogic.Dispose(); }