This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Constructor | |
public MainPage() | |
{ | |
InitializeComponent(); | |
//For page view add the following line in each page constructor | |
GoogleAnalytics.EasyTracker.GetTracker().SendView("MainPage"); | |
} | |
//For button click event handlers add the following code | |
private void Button_Click_1(object sender, RoutedEventArgs e) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is a function for creating a admob add dynamically using c# | |
void admob(StackPanel stck) | |
{ | |
//Create a admob banner | |
AdView bannerAd = new AdView | |
{ | |
Format = AdFormats.Banner, | |
AdUnitID = "YOUR_AD_UNIT_ID" | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ObservableCollection<ProductItem> picItems = new ObservableCollection<ProductItem>(); | |
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) | |
{ | |
RenderStoreItems(); | |
base.OnNavigatedTo(e); | |
} | |
private async void RenderStoreItems() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Phone.Marketplace; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static LicenseInformation _licenseInfo = new LicenseInformation(); |
OlderNewer