Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
UEngage/UEngage/DetailModelPage.xaml.cs
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (31 sloc)
1.01 KB
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using UEngage.Models; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace UEngage | |
{ | |
[XamlCompilation(XamlCompilationOptions.Compile)] | |
public partial class DetailModelPage : ContentPage | |
{ | |
public DetailModelPage(ReportCopy obb) | |
{ | |
InitializeComponent(); | |
img.Source = ImageSource.FromFile(obb.imagePath); | |
txttype.Text ="Report Type : " + obb.reportType; | |
Username.Text = "User : " + obb.Username; | |
Date.Text = "Date : " + obb.Date; | |
postCode.Text = "Post Code : " + obb.postCode; | |
latitude.Text = "Latitude : " + obb.latitude; | |
Longitude.Text = "Longitude : " + obb.Longitude; | |
Description.Text = "Description : " + obb.Description; | |
} | |
private void btnexit_Clicked(object sender, EventArgs e) | |
{ | |
Navigation.PopModalAsync(); | |
} | |
} | |
} |