摘要: private void button1_Click(object sender, EventArgs e) { string datas = "1,1001,20070308110201,D41D8CD98F00B204E9800998ECF8427E"; byte[] data = Encoding.UTF8.GetBytes(datas); byte[] sendData = SetHeader(data); for (int i = 0; i < sendData.Length;i+... 阅读全文
posted @ 2011-08-27 19:05 飞越蓝天 阅读(414) 评论(0) 推荐(0)
摘要: 1,数据表2,XAML制作一个三行的表格<Grid.RowDefinitions><RowDefinition Height="*"/><RowDefinition Height="auto"/><RowDefinition Height="30"/></Grid.RowDefinitions>3,用ListView集合控件承载数据记录View Code <ListView x:Name="listView1" MinWidth="280& 阅读全文
posted @ 2011-07-02 02:16 飞越蓝天 阅读(2599) 评论(0) 推荐(0)
摘要: 首先,右键WPF项目引用--添加引用--在(.NET)下,添加System.Windows.Forms和WindowsFormsIntegrationXAML:1添加引用2添加Loaded事件和Click="button1_Click"代码如下:1 <Window x:Class="FLASHPlay.MainWindow"2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"3 xmlns:x="http://schemas.micros 阅读全文
posted @ 2011-07-01 14:04 飞越蓝天 阅读(3012) 评论(0) 推荐(1)