diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-03-10 03:59:31 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-03-10 03:59:31 +0200 |
| commit | d1d28d68564d0a76021944ba1e2993ffb3eaba61 (patch) | |
| tree | c0068878c600b48edccca9e824d6b9c41674cbee /Software/Visual_Studio/PPC/Tango.PPC.UI/Bit | |
| parent | dff40538d054551a74034b473f9f0e0c3590bcd0 (diff) | |
| download | Tango-d1d28d68564d0a76021944ba1e2993ffb3eaba61.tar.gz Tango-d1d28d68564d0a76021944ba1e2993ffb3eaba61.zip | |
Bit completed except updated BIT types.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Bit')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Bit/DefaultBitManager.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Bit/DefaultBitManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Bit/DefaultBitManager.cs new file mode 100644 index 000000000..bc132335e --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Bit/DefaultBitManager.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.Core.DI; +using Tango.PPC.Common.Bit; +using Tango.PPC.Common.Notifications; +using Tango.PPC.UI.Dialogs; + +namespace Tango.PPC.UI.Bit +{ + public class DefaultBitManager : IBitManager + { + private bool _isShowing; + + [TangoInject] + public INotificationProvider NotificationProvider { get; set; } + + public async Task ShowBitResultsDialog() + { + if (_isShowing) return; + _isShowing = true; + await NotificationProvider.ShowDialog<BitResultsViewVM>(); + _isShowing = false; + } + } +} |
