1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
| <Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:My="clr-namespace:Haxbox.My" x:Class="WpfApplication3.MainWindow"
Title="HAXBOX" Height="400" Width="640"
AllowsTransparency="True" WindowStyle="None"
WindowStartupLocation="CenterScreen"
>
<Window.Background>
<SolidColorBrush Opacity="0" Color="#FFD82222"/>
</Window.Background>
<Grid>
<Image Source="logo.png" Stretch="Fill" Margin="91,10,91,82"/>
<Button Content="Start" HorizontalAlignment="Left" Height="28" Margin="133,274,0,0" VerticalAlignment="Top" Width="85" RenderTransformOrigin="0.5,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-25"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
</Button>
<Button Content="Create account" HorizontalAlignment="Left" Height="28" Margin="395,273,0,0" VerticalAlignment="Top" Width="129" RenderTransformOrigin="0.5,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-25"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
</Button>
<TextBox HorizontalAlignment="Left" Height="27" Margin="121,96,0,0" TextWrapping="Wrap" Text="Login" VerticalAlignment="Top" Width="132" RenderTransformOrigin="0.5,0.5">
<TextBox.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-25"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</TextBox.RenderTransform>
</TextBox>
<TextBox HorizontalAlignment="Left" Height="27" Margin="119,127,0,0" TextWrapping="Wrap" Text="Password" VerticalAlignment="Top" Width="135" RenderTransformOrigin="0.5,0.5">
<TextBox.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-25"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</TextBox.RenderTransform>
</TextBox>
<CheckBox Content="Remember this settings" HorizontalAlignment="Left" Margin="108,159,0,0" VerticalAlignment="Top"/>
<Button Content="Visit website" HorizontalAlignment="Left" Height="28" Margin="225,273,0,0" VerticalAlignment="Top" Width="165" RenderTransformOrigin="0.5,0.5" BorderBrush="#FF05401D" Foreground="#FF572626">
<Button.Background>
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
<GradientStop Color="#FFF3F3F3" Offset="0"/>
<GradientStop Color="#FFEBEBEB" Offset="0.5"/>
<GradientStop Color="#FFDDDDDD" Offset="0.5"/>
<GradientStop Color="#FFD62C2C" Offset="1"/>
</LinearGradientBrush>
</Button.Background>
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleX="-25"/>
<RotateTransform/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
</Button>
<Button Content="Button" HorizontalAlignment="Left" Height="66" Margin="421,46,0,0" VerticalAlignment="Top" Width="173">
<Button.DataContext>
<My:MySettings/>
</Button.DataContext>
</Button>
</Grid>
</Window> |
Partager