WEB开发网
开发学院WEB开发ASP.NET 稳扎稳打Silverlight(55) - 4.0通信之对UDP协议的... 阅读

稳扎稳打Silverlight(55) - 4.0通信之对UDP协议的支持:“源特定多播”

 2010-10-12 12:29:58 来源:WEB开发网   
核心提示: UdpSingleSourceMulticastClientDemo.xaml代码<navigation:Page x:Class="Silverlight40.Communication.UdpSingleSourceMulticastClientDemo" xmln

UdpSingleSourceMulticastClientDemo.xaml

代码

<navigation:Page x:Class="Silverlight40.Communication.UdpSingleSourceMulticastClientDemo"
           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:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           Title="UdpSingleSourceMulticastClientDemo Page">
    <Grid x:Name="LayoutRoot">
       
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="60" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="40" />
        </Grid.RowDefinitions>

        <ListBox Name="lstAllMsg" Grid.ColumnSpan="3" Margin="6" />
        <TextBox Name="txtUserName" Grid.Row="1" Grid.Column="0" Margin="6" />
        <TextBox Name="txtSendMsg" Grid.Row="1" Grid.Column="1" TextWrapping="Wrap" Margin="6" KeyDown="txtMsg_KeyDown" />
        <Button Name="btnSend" Grid.Row="1" Grid.Column="2" Margin="6" Content="发送" Click="btnSend_Click" />
       
    </Grid>
</navigation:Page>

上一页  1 2 3 4  下一页

Tags:稳扎稳打 Silverlight 通信

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接