thoemmi / TinyLittleMvvm

A small MVVM library for WPF built on top of MahApps.Metro, supporting .NET Framework >= 4.7.2 and .NET Core >= 3
MIT License
132 stars 22 forks source link

Add ShowDialog to WindowManager #32

Closed ahmediddma closed 4 years ago

ahmediddma commented 5 years ago

For https://github.com/thoemmi/TinyLittleMvvm/issues/31

ahmediddma commented 4 years ago

i think i did them all

thoemmi commented 4 years ago

I have changed the return type of IWindowManager.ShowDialog to (bool?, TViewModel). This way, the caller gets the result of the original Window.ShowDialog().

I also fixed some minor formatting issues :wink:

Anyway, thanks for your contribution 👍