Import inital de l'application mobile Xamarin
This commit is contained in:
parent
9f36b8b89c
commit
0d8d159285
157 changed files with 13250 additions and 0 deletions
30
BookAStar/BookAStar/SearchPage.xaml.cs
Normal file
30
BookAStar/BookAStar/SearchPage.xaml.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using Xamarin.Forms;
|
||||
using System.Collections.ObjectModel;
|
||||
using BookAStar.Model.Social;
|
||||
using BookAStar.Model.Workflow.Messaging;
|
||||
|
||||
namespace BookAStar
|
||||
{
|
||||
public partial class SearchPage : ContentPage
|
||||
{
|
||||
public ObservableCollection<LocalizedEvent> Events { get; private set; }
|
||||
public SearchPage ()
|
||||
{
|
||||
|
||||
InitializeComponent ();
|
||||
|
||||
BindingContext = this;
|
||||
Events = Manager.Events;
|
||||
list.ItemTapped += async (object sender, ItemTappedEventArgs e) => {
|
||||
await Navigation.PushAsync(new EventDetail( (YaEvent) e.Item) { Title = "Détail de la soirée" } );
|
||||
};
|
||||
search_date.Date = DateTime.Now;
|
||||
search_date.MinimumDate = DateTime.Now;
|
||||
search_phrase.Text = "Suresnes";
|
||||
btn_update.Clicked += (object sender, EventArgs e) => {
|
||||
//
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue