public MakePage() { InitializeComponent(); _apiInvokeYearMakeModel = new APIMASHInvoke(); _apiInvokeYearMakeModel.OnResponse += apiInvokeYearMakeModel_OnResponse; DataContext = App.MakeModelViewModel; }
// Constructor public MainPage() { InitializeComponent(); apiInvoke = new APIMASHInvoke(); apiInvoke.OnResponse += apiInvoke_OnResponse; Invoke(); }
public GroupedItemsPage() { this.InitializeComponent(); _apiInvokeInTheaters = new APIMASHInvoke(); var settingsPane = SettingsPane.GetForCurrentView(); settingsPane.CommandsRequested += settingsPane_CommandsRequested; }
public HomeViewModel(INavigationService navigationService) { this.navigationService = navigationService; DisplayName = "Home"; var api = new APIMASHInvoke(); api.OnResponse += api_OnResponse; api.Invoke <APIMASH_StackExchangeLib.StackExchangeQuestions>(Constants.QuestionsApi); }
public ItemDetailPage() { this.InitializeComponent(); apiInvokePreview = new APIMASHInvoke(); apiInvokeReviews = new APIMASHInvoke(); var settingsPane = Windows.UI.ApplicationSettings.SettingsPane.GetForCurrentView(); settingsPane.CommandsRequested += settingsPane_CommandsRequested; }
public GroupedItemsPage() { this.InitializeComponent(); _apiInvokeInTheaters = new APIMASHInvoke(); _apiInvokeInTheaters.OnResponse += apiInvoke_OnResponseInTheaters; var settingsPane = SettingsPane.GetForCurrentView(); settingsPane.CommandsRequested += settingsPane_CommandsRequested; }
public MainPage() { this.InitializeComponent(); _apiInvokeYearMakeModel = new APIMASHInvoke(); _apiInvokeModelSpecs = new APIMASHInvoke(); _apiInvokePhotoByStyleId = new APIMASHInvoke(); // adust the height of the ListView var bounds = Window.Current.Bounds; ModelList.Height = bounds.Height - 400; }
public PhotoPage() { InitializeComponent(); _apiInvokeModelSpecs = new APIMASHInvoke(); _apiInvokePhotoByStyleId = new APIMASHInvoke(); _apiInvokeModelSpecs.OnResponse += _apiInvokeModelSpecs_OnResponse; _apiInvokePhotoByStyleId.OnResponse += _apiInvokePhotoByStyleId_OnResponse; ErrMessage.Visibility = Visibility.Collapsed; }
public ItemDetailPage() { this.InitializeComponent(); apiInvokePreview = new APIMASHInvoke(); apiInvokeReviews = new APIMASHInvoke(); apiInvokePreview.OnResponse += apiInvokePreviews_OnResponse; apiInvokeReviews.OnResponse += apiInvokeReviews_OnResponse; var settingsPane = SettingsPane.GetForCurrentView(); settingsPane.CommandsRequested += settingsPane_CommandsRequested; }
public MainPage() { this.InitializeComponent(); _apiInvokeYearMakeModel = new APIMASHInvoke(); _apiInvokeModelSpecs = new APIMASHInvoke(); _apiInvokePhotoByStyleId = new APIMASHInvoke(); _apiInvokeYearMakeModel.OnResponse += apiInvokeYearMakeModel_OnResponse; _apiInvokeModelSpecs.OnResponse += _apiInvokeModelSpecs_OnResponse; _apiInvokePhotoByStyleId.OnResponse += _apiInvokePhotoByStyleId_OnResponse; // adust the height of the ListView var bounds = Window.Current.Bounds; ModelList.Height = bounds.Height - 400; }
string id = "random"; //to choose joke randomly or by its ID public MainPage() { this.InitializeComponent(); apiInvoke = new APIMASHInvoke(); }
public MainPage() { this.InitializeComponent(); apiInvoke = new APIMASHInvoke(); }