SetWindowWaitControl.xaml
上传用户:lvyingde
上传日期:2018-04-24
资源大小:610k
文件大小:3k
源码类别:

SilverLight

开发平台:

C#

  1. <UserControl x:Class="wxwinter.WFDesignerSl.SetWindowWaitControl"
  2.     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  3.     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  4.     Width="400" Height="300">
  5.     <Canvas Name="LayoutRoot" Background="#7E959191" Width="800" Height="650">
  6.         <Border  BorderThickness="0,0,0,0" CornerRadius="20,20,20,20"  Width="600" Height="300"  Canvas.Top="130" Canvas.Left="100">
  7.             <Border.Background>
  8.                 <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  9.                     <GradientStop Color="#FFE1EFF4"/>
  10.                     <GradientStop Color="#FF19B6F4" Offset="1"/>
  11.                     <GradientStop Color="#FF54C2EE" Offset="0.411"/>
  12.                     <GradientStop Color="#FFCACACA" Offset="0.719"/>
  13.                 </LinearGradientBrush>
  14.             </Border.Background>
  15.             <Canvas>
  16.                 <Button Content="确定" Width="70" Canvas.Top="260" Canvas.Left="380" Click="Button_Click_0"></Button>
  17.                 <Button Content="取消" Width="70" Canvas.Top="260" Canvas.Left="480" Click="Button_Click_1"></Button>
  18.                 <TextBox Name="activityName" Canvas.Left="120" Canvas.Top="20" Height="23"  Width="220"  />
  19.                 <TextBlock Canvas.Left="0" Canvas.Top="25" Height="21" Text="Name" Width="110" TextAlignment="Right" />
  20.                 <TextBox Name="activityTitle" Canvas.Left="120" Canvas.Top="63" Height="23"  Width="220"  />
  21.                 <TextBlock Canvas.Left="0" Canvas.Top="68" Height="21" Text="标题" Width="110" TextAlignment="Right" />
  22.                 <TextBox Name="activityX" Canvas.Left="120" Canvas.Top="110" Height="23"  Width="220" Text="150"/>
  23.                 <TextBlock Canvas.Left="0" Canvas.Top="115" Height="21" Text="X-坐标" Width="110" TextAlignment="Right" />
  24.                 <TextBox Name="activityY" Canvas.Left="120" Canvas.Top="163" Height="23"  Width="220" Text="250" />
  25.                 <TextBlock Canvas.Left="0" Canvas.Top="168" Height="21" Text="Y-坐标" Width="110" TextAlignment="Right" />
  26.                 <TextBox Name="activityDescription" Canvas.Left="120" Canvas.Top="210" Height="23"  Width="220" AcceptsReturn="True"   />
  27.                 <TextBlock Canvas.Left="0" Canvas.Top="215" Height="21" Text="说明" Width="110" TextAlignment="Right" />
  28.                 <TextBlock Name="ErrorInfo"  Canvas.Top="270" Canvas.Left="50"  Foreground="Red" />
  29.                 <Canvas Canvas.Left="350" Canvas.Top="15" Background="Blue">
  30.                     <TextBox Text="提交" Name="txtSubmtItem" Canvas.Left="11" Canvas.Top="6" Height="23" Width="160" />
  31.                     <ListBox Canvas.Left="11" Canvas.Top="30" Height="100" Name="lbSubmtOption" Width="160" />
  32.                     <Button Canvas.Left="174" Canvas.Top="6" Height="23" Name="buttonAddsubmtItem" Width="53" Click="buttonAddsubmtItem_Click" Content="添加"></Button>
  33.                     <Button Canvas.Left="179" Canvas.Top="110" Height="23" Name="buttonRemovesubmtItem" Width="53" Click="buttonRemovesubmtItem_Click" Content="删除"></Button>
  34.                 </Canvas>
  35.             </Canvas>
  36.         </Border>
  37.     </Canvas>
  38. </UserControl>