diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-05-28 16:39:21 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-05-28 16:39:21 +0300 |
| commit | d6d23928ef3a639dc27959c41ea1b13eae429794 (patch) | |
| tree | b18134b3381f33b94737ca2b800f6d57ec4520fe /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs | |
| parent | c431feb9219a827fbda72d14ae05ca8c4093c973 (diff) | |
| parent | 0159af4cc40ef8ba9c89516ced41ce69322c6bf7 (diff) | |
| download | Tango-d6d23928ef3a639dc27959c41ea1b13eae429794.tar.gz Tango-d6d23928ef3a639dc27959c41ea1b13eae429794.zip | |
merge
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs new file mode 100644 index 000000000..4cc812a17 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoadingViewVM.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.PPC.Common; +using Tango.PPC.Common.Application; +using Tango.PPC.Common.Authentication; +using Tango.PPC.Common.Navigation; +using Tango.PPC.Common.Notifications; +using Tango.SharedUI; + +namespace Tango.PPC.UI.ViewModels +{ + public class LoadingViewVM : PPCViewModel + { + public LoadingViewVM(IPPCApplicationManager application, IAuthenticationProvider authentication, INavigationManager navigation, INotificationProvider notification) : base(application, authentication, navigation, notification) + { + + } + + public async override void OnApplicationStarted() + { + await Task.Delay(2000); + NavigationManager.NavigateTo(NavigationView.LayoutView); + NavigationManager.NavigateTo(NavigationView.JobsView); + } + } +} |
