Files
xxcpzs/XXCpzs/Views/PageAddCustomer.xaml
2020-04-03 11:55:02 +08:00

38 lines
2.5 KiB
XML

<?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:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Title="{Binding Title}"
x:Class="XXCpzs.Views.PageAddCustomer">
<ContentPage.Content>
<StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text=" 公司:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Company" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text="联系人:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Contacts" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text="电话:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Phone" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text="邮件:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Email" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text="地址:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Address" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<StackLayout Orientation="Horizontal" BackgroundColor="SlateGray">
<Label Text="备注:" VerticalTextAlignment="Center" HorizontalOptions="Start" FontSize="25" />
<Editor x:Name="Note" HorizontalOptions="FillAndExpand" FontSize="25"/>
</StackLayout>
<Button Text="立即添加" VerticalOptions="EndAndExpand" Clicked="Button_Clicked"/>
</StackLayout>
</ContentPage.Content>
</ContentPage>