public ProjectSelect() { NavigationPage.SetBackButtonTitle(this, ""); InitializeComponent(); //HockeyApp.MetricsManager.TrackEvent("SubmitTimeSheetPage Initialize"); viewModel = new ProjectSelectViewModel(); BindingContext = viewModel; LoadData(); }
public ProjectSelectView() { InitializeComponent(); DataContext = new ProjectSelectViewModel(ThisAddIn.Authentication, ThisAddIn.StorageProvider); ThisAddIn.MessageProvider.ErrorOccurred += MessageProvider_OnErrorOccurred; }