Commit Graph

13 Commits

Author SHA1 Message Date
Markus Ewald
7376852ae1 DataContext change event was not triggered on .NET 8.0 because it brings its own DataContext property and related event, adapted the code to still fire my custom OnDataContextChange() notification 2025-06-24 11:12:34 +02:00
Markus Ewald
f6457b1909 View model disposal is now done via a lambda method with captured variables rather than by tagging the view 2025-06-19 14:02:02 +02:00
Markus Ewald
0761f1a8c1 Upgraded project to .NET 8.0 because .NET 6.0 is out of support 2025-06-19 10:55:52 +02:00
Markus Ewald
012fc077a5 Upgrade to .NET 6.0 with updated project file 2025-06-19 10:55:46 +02:00
Markus Ewald
0037b7de46 Changed license to Apache License 2.0 2025-06-19 10:55:24 +02:00
Markus Ewald
857917aad5 Added alternative .NET 4.6.2 project; MultiPageViewForm now has a default constructor just so it doesn't upset the Windows Forms designer
git-svn-id: file:///srv/devel/repo-conversion/nuwi@57 d2e56fa2-650e-0410-a79f-9358c0239efd
2023-10-03 12:35:14 +00:00
Markus Ewald
db68a9741e The multi page view can now deal with multi page view models that change the active page from a different thread (as it should be, in WPF all bound property change notifications are allowed to come from any thread)
git-svn-id: file:///srv/devel/repo-conversion/nuwi@56 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-16 20:06:34 +00:00
Markus Ewald
e16af9dee9 Added properties to access the active page view and page view model
git-svn-id: file:///srv/devel/repo-conversion/nuwi@55 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-13 22:23:28 +00:00
Markus Ewald
b69488f9a6 Page switching now with 100% less flickering; page switching to a null view model is allowed now
git-svn-id: file:///srv/devel/repo-conversion/nuwi@54 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-13 22:07:48 +00:00
Markus Ewald
91432c5209 The progress spinner can now tell its optimal size required to show the entire status text but overlap as few controls as possible; began implementing a generic version of a multi page view model and matching view with caching
git-svn-id: file:///srv/devel/repo-conversion/nuwi@53 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-13 21:26:12 +00:00
Markus Ewald
a17926d02e ViewControl and ViewForm were not actually reacting when their data context changed -- fixed; view models can now delay their search for a main window (needed to synchronize change notifications to the main threads because of those shitty WinForms controls); WindowManager now accepts ...Page as a postfix for a view name, too
git-svn-id: file:///srv/devel/repo-conversion/nuwi@48 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-11 18:05:06 +00:00
Markus Ewald
14d0ea1371 Added threaded action to wrap sub-actions a view model can perform (this can either be scheduled individually or on the parent threaded view model); added missing copyright statement; more unit tests
git-svn-id: file:///srv/devel/repo-conversion/nuwi@45 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-07 17:36:40 +00:00
Markus Ewald
4ef5dd9430 Cleaned and added a base class for view models with background processing tha uses the new ThreadedAction class to do its background processing; added a view binding interface for WinForms that emulates the WPF design
git-svn-id: file:///srv/devel/repo-conversion/nuwi@41 d2e56fa2-650e-0410-a79f-9358c0239efd
2019-02-06 07:00:27 +00:00