CaptchaWindow.xaml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <Window x:Class="MedicallCenter.CaptchaWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:MedicallCenter"
  7. mc:Ignorable="d"
  8. Title="Captcha" Height="200px" Width="300px"
  9. ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Foreground="Black" WindowStyle="None">
  10. <Grid>
  11. <Grid.RowDefinitions>
  12. <RowDefinition></RowDefinition>
  13. <RowDefinition></RowDefinition>
  14. </Grid.RowDefinitions>
  15. <Grid Grid.Row="0" Name="captchaGrid" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  16. <StackPanel Grid.Row="1">
  17. <TextBox Name="tbInput" FontSize="24px" Margin="30 0" Padding="2px"/>
  18. <Grid>
  19. <Button Content="Отправить" Width="140px" Margin="30 10" FontSize="24px" HorizontalAlignment="Left" Background="White" Click="SendButton_Click"/>
  20. <Button Name="btnRepeat" Width="40px" Margin="30 10" FontSize="24px" HorizontalAlignment="Right" Click="RepeatButton_click">
  21. <Button.Background>
  22. <ImageBrush Stretch="Uniform"/>
  23. </Button.Background>
  24. </Button>
  25. </Grid>
  26. </StackPanel>
  27. </Grid>
  28. </Window>