<DockPanel>
<Menu DockPanel.Dock="Top">
<MenuItem Header="文件" >
<MenuItem Header="科学计算"></MenuItem>
<MenuItem Header="确定精度"></MenuItem>
</MenuItem>
<MenuItem Header="编辑">
<MenuItem Header="确定"></MenuItem>
<MenuItem Header="取消"></MenuItem>
</MenuItem>
</Menu>
<Grid DockPanel.Dock="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TextBox Grid.ColumnSpan="5" Grid.Column="0" Grid.Row="0" Margin="0px,5px,0px,2px" BorderThickness="1,1,1,1"></TextBox>
<Button Grid.Column="0" Grid.Row="1" Content="MC" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="0" Grid.Row="2" Content="←" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="0" Grid.Row="3" Content="7" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="0" Grid.Row="4" Content="4" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="0" Grid.Row="5" Content="1" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="2" Content="0" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="1" Grid.Row="1" Content="MR" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="1" Grid.Row="2" Content="CE" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="1" Grid.Row="3" Content="8" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="1" Grid.Row="4" Content="5" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="1" Grid.Row="5" Content="2" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="1" Content="MS" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="2" Content="C" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="3" Content="9" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="4" Content="6" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="5" Content="3" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="2" Grid.Row="6" Content="." Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="1" Content="M+" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="2" Content="±" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="3" Content="/" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="4" Content="*" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="5" Content="-" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="3" Grid.Row="6" Content="+" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="4" Grid.Row="1" Content="M-" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="4" Grid.Row="2" Content="√" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="4" Grid.Row="3" Content="%" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="4" Grid.Row="4" Content="1/x" Margin="1px,1px,1px,1px"></Button>
<Button Grid.Column="4" Grid.Row="5" Grid.RowSpan="2" Content="=" Margin="1px,1px,1px,1px"></Button>
</Grid>
</DockPanel> |