FTPServerPage.xaml (3411B)
1 <phone:PhoneApplicationPage 2 x:Class="File360.FTPServerPage" 3 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 4 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 5 xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" 6 xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" 7 xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" 8 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 9 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 10 FontFamily="{StaticResource PhoneFontFamilyNormal}" 11 FontSize="{StaticResource PhoneFontSizeNormal}" 12 Foreground="{StaticResource PhoneForegroundBrush}" 13 SupportedOrientations="Portrait" Orientation="Portrait" 14 mc:Ignorable="d" 15 shell:SystemTray.IsVisible="True"> 16 17 <!--LayoutRoot is the root grid where all page content is placed--> 18 <Grid x:Name="LayoutRoot" Background="Transparent"> 19 20 <!--TitlePanel contains the name of the application and page title--> 21 <StackPanel Grid.Row="0" Margin="12,17,0,643"> 22 <TextBlock Text="FILE360" Style="{StaticResource PhoneTextNormalStyle}"/> 23 <TextBlock Text="ftp server" Margin="9,-7,0,0" FontSize="48" FontFamily="Segoe WP Light"/> 24 </StackPanel> 25 26 <!--ContentPanel - place additional content here--> 27 <Grid x:Name="ContentPanel" Margin="10,0,14,0"> 28 <toolkit:PhoneTextBox Hint="FTP Server Address" x:Name="txtIp" toolkit:TiltEffect.IsTiltEnabled="True" Margin="0,129,178,560"/> 29 <toolkit:PhoneTextBox Hint="Port" x:Name="txtPortNumber" toolkit:TiltEffect.IsTiltEnabled="True" Text="21" Margin="278,129,83,560" /> 30 <Button Content="" HorizontalAlignment="Left" Margin="373,129,0,0" VerticalAlignment="Top" BorderBrush="{x:Null}" Width="83" Height="79" Background="{StaticResource PhoneForegroundBrush}" Click="Connect_Click"> 31 <Button.OpacityMask> 32 <ImageBrush Stretch="Uniform" ImageSource="/Resources/Assets/Images/go.png"/> 33 </Button.OpacityMask> 34 </Button> 35 <TextBlock x:Name="WarningP" HorizontalAlignment="Left" Height="32" Margin="10,208,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="436" FontSize="22" FontFamily="Segoe WP Semibold" Foreground="#FFE43D3D"/> 36 <toolkit:PhoneTextBox Hint="Command" x:Name="txtCmd" HorizontalAlignment="Left" Height="72" TextWrapping="Wrap" VerticalAlignment="Top" Width="363" Margin="0,232,0,0"/> 37 <phone:LongListSelector x:Name="lstLogs" HorizontalAlignment="Left" Height="449" VerticalAlignment="Top" Width="436" Margin="10,309,0,0" Background="{x:Null}"/> 38 <Button Click="Command_Click" HorizontalAlignment="Left" Margin="363,240,0,0" VerticalAlignment="Top" Width="83" Height="64" BorderBrush="{x:Null}" Background="{StaticResource PhoneForegroundBrush}"> 39 <Button.OpacityMask> 40 <ImageBrush Stretch="Uniform" ImageSource="/Resources/Assets/Images/go.png"/> 41 </Button.OpacityMask> 42 </Button> 43 <TextBlock x:Name="sds" HorizontalAlignment="Left" Height="114" Margin="217,10,0,0" TextWrapping="Wrap" Text="TextBlock" VerticalAlignment="Top" Width="229" Foreground="White"/> 44 </Grid> 45 </Grid> 46 47 </phone:PhoneApplicationPage>