Niestety, nikt nie powie Ci czym jest FluxBB - musisz go poznać sam!
Nie jesteś zalogowany na forum.
Strony: 1
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:Przyklad1"
x:Class="Przyklad1.MainPage"
Title="STRONA GŁÓWNA">
<ContentPage.Content>
<StackLayout>
<Button x:Name="NextPageButton"
Text="Do strony 2"
VerticalOptions="Center"
HorizontalOptions="Center"
Clicked="OnNextPageButtonClicked"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;namespace Przyklad1
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}async void OnNextPageButtonClicked(object sender, EventArgs e)
{
await Navigation.PushAsync(new Strona2());
}
}
}
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Przyklad1.Strona2"
Title="STRONA II">
<ContentPage.Content>
<StackLayout>
<Label Text="Strona 2" />
<Button x:Name="NextPageButton"
Text="Do strony 3"
VerticalOptions="Center"
HorizontalOptions="Center"
Clicked="OnNextPageButtonClicked"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;using Xamarin.Forms;
using Xamarin.Forms.Xaml;namespace Przyklad1
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class Strona2 : ContentPage
{
public Strona2 ()
{
InitializeComponent ();
}async void OnNextPageButtonClicked(object sender, EventArgs e)
{
await Navigation.PushAsync(new Strona3());
}
}
}
Offline
Strony: 1