MainPage.xaml
<!--LayoutRoot is the root grid where all page content is placed-->
<Grid x:Name="LayoutRoot" Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
<TextBlock x:Name="ExperimentTitle" Text="ExpNo MC14" TextAlignment="Right" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="ApplicationTitle" Text="Mobile Computing" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="Digital Signature" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
</StackPanel>
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock x:Name="tbMessage" Text="Message" Height="50" Margin="12" Grid.Row="1" Grid.Column="0" Width="100"/>
<TextBox x:Name="txtMessg" Height="72" Grid.Row="1" Grid.Column="1" Width="330" TextWrapping="Wrap" />
<Button Content="GetHash" Click="Button_Click" Grid.Row="2" Grid.Column="1" Width="330" Height="72" Background="Black"/>
<TextBox x:Name="txtHash" Height="127" Grid.Row="3" Grid.ColumnSpan="2" TextWrapping="Wrap" Width="448" BorderBrush="Green" Background="Black" Foreground="White" FontSize="{StaticResource PhoneFontSizeSmall}" />
<Button x:Name="bVerify" Content="Verify" Grid.Row="4" Grid.Column="1" Height="72" Click="bVerify_Click"/>
<Button x:Name="bReset" Content="Reset" Grid.Row="4" Grid.Column="0" Height="72" Click="bReset_Click"/>
</Grid>
</Grid>
|
Exp No MC14(Experiment title)
Mobile Computing(Application title)
Digital Signature (Page Title)
|