12345678910111213141516171819202122232425262728293031323334 |
- <Window x:Class="Test.CalcTrans.WinCalc"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:Test.CalcTrans"
- mc:Ignorable="d"
- Title="WinCalc" Height="450" Width="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Label Content="原始支付" Grid.Row="0" Grid.Column="0"></Label>
- <TextBox x:Name="OriginPayValue" Grid.Row="0" Grid.Column="1"></TextBox>
- <Label Content="支付次数" Grid.Row="1" Grid.Column="0"></Label>
- <TextBox x:Name="PayTime" Grid.Row="1" Grid.Column="1"></TextBox>
- <Label Content="应支付金额" Grid.Row="2" Grid.Column="0"></Label>
- <TextBlock x:Name="OriginValue" Grid.Row="2" Grid.Column="1"></TextBlock>
- <Label Content="实际支付金额" Grid.Row="3" Grid.Column="0"></Label>
- <TextBlock x:Name="RealValue" Grid.Row="3" Grid.Column="1"></TextBlock>
- <Button Content="测试绑定" Name="TestBinding" Grid.Row="4" Grid.Column="0"></Button>
- <Button Content="计算" Click="Button_Click" Grid.Row="4" Grid.Column="1"></Button>
- </Grid>
- </Window>
|