解决方案 »
- 如何用ASP.net中的FileUpload将txt内容写入数据库?
- c#web加载ActiveX控件空闲在工具栏中是灰的不可选。是什么问题
- byte数组和字符串的转换问题,急!!!
- 求C#免费教程
- 急问!!!count 需要具有可能的“Child”限定符的单个列参数
- 连接sqlserver数据库判断连接状态的问题
- 一个引用出现的错误。。
- 关于用GRIDVIEW实现审核功能遇到的简单问题····大家看看我这里哪错了吗?
- 绝望散分!找了一年找不到工作,难道C#真的养不活我?想改行了
- 格式化字符串問題
- 如果using一个FileStream,是否会隐含调用Close()?
- 任务管理器中出现新进程对应的事件是什么?
然后每个控件的horizonalignment设置为stretch
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="计算器" Height="350" Width="1000">
<Grid Height="300" Width="900">
<StackPanel Orientation="Horizontal" >
<Button>Button A</Button>
<Button>Button B</Button>
<Button>Button C</Button>
<Button>Button D</Button>
<Button>Button E</Button>
<Button>Button F</Button>
</StackPanel> </Grid></Window>