init
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
---
|
||||
source_files:
|
||||
- DataPRO/Modules/DatabaseImporter/DatabaseImport/App/WaitCursor.cs
|
||||
- DataPRO/Modules/DatabaseImporter/DatabaseImport/App/App.cs
|
||||
generated_at: "2026-04-17T16:44:58.377701+00:00"
|
||||
model: "zai-org/GLM-5-FP8"
|
||||
schema_version: 1
|
||||
sha256: "fa7ba64696e65370"
|
||||
---
|
||||
|
||||
# Documentation: DatabaseImport Application Module
|
||||
|
||||
## 1. Purpose
|
||||
|
||||
This module provides UI state management utilities for a WPF-based database import application. It consists of two components: `WaitCursor`, a disposable utility class for temporarily displaying a wait cursor with automatic restoration, and `App`, the main application class that manages application-wide busy states, provides lazy-initialized access to an `ISO13499FileDb` instance, and handles thread-safe UI manipulation through dispatcher-aware methods.
|
||||
|
||||
---
|
||||
|
||||
## 2. Public Interface
|
||||
|
||||
### `WaitCursor` Class
|
||||
|
||||
| Member | Signature | Description |
|
||||
|--------|-----------|-------------|
|
||||
| Constructor | `public WaitCursor()` | Saves the current `Mouse.OverrideCursor` value to `_previousCursor`, then sets `Mouse.OverrideCursor` to `Cursors.Wait`. |
|
||||
| `Dispose` | `public void Dispose()` | Restores the cursor by setting `Mouse.OverrideCursor` back to the saved `_previousCursor` value. |
|
||||
|
||||
### `App` Class (partial)
|
||||
|
||||
| Member | Signature | Description |
|
||||
|--------|-----------|-------------|
|
||||
| `IsoDb` | `public ISO13499FileDb IsoDb { get;
|
||||
Reference in New Issue
Block a user