| 1 | + | <Window x:Class="SignHackTool.MainWindow" |
| 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:SignHackTool" |
| 7 | + | mc:Ignorable="d" |
| 8 | + | Title="MainWindow" Height="512" Width="365" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"> |
| 9 | + | <Window.Background> |
| 10 | + | <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
| 11 | + | <GradientStop Color="#FF232D3E" /> |
| 12 | + | <GradientStop Color="#FF1D222C" Offset="1" /> |
| 13 | + | <GradientStop Color="#FF1D222C" Offset="0.5" /> |
| 14 | + | </LinearGradientBrush> |
| 15 | + | </Window.Background> |
| 16 | + | <Window.Resources> |
| 17 | + | <Style x:Key="ComboboxButton" TargetType="Button"> |
| 18 | + | <Setter Property="OverridesDefaultStyle" Value="True" /> |
| 19 | + | <Setter Property="Background" Value="#FF1B1f29" /> |
| 20 | + | <Setter Property="Template"> |
| 21 | + | <Setter.Value> |
| 22 | + | <ControlTemplate TargetType="Button"> |
| 23 | + | <Border x:Name="border" BorderThickness="0" BorderBrush="Black" Background="{TemplateBinding Background}"> |
| 24 | + | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> |
| 25 | + | </Border> |
| 26 | + | <ControlTemplate.Triggers> |
| 27 | + | <EventTrigger RoutedEvent="PreviewMouseDown"> |
| 28 | + | <BeginStoryboard> |
| 29 | + | <Storyboard> |
| 30 | + | <ThicknessAnimation Storyboard.TargetProperty="Margin" Duration="0:0:0.100" To="2,2,0,0"></ThicknessAnimation> |
| 31 | + | </Storyboard> |
| 32 | + | </BeginStoryboard> |
| 33 | + | </EventTrigger> |
| 34 | + | <EventTrigger RoutedEvent="PreviewMouseUp"> |
| 35 | + | <BeginStoryboard> |
| 36 | + | <Storyboard> |
| 37 | + | <ThicknessAnimation Storyboard.TargetProperty="Margin" Duration="0:0:0.100" To="0,0,0,0"></ThicknessAnimation> |
| 38 | + | </Storyboard> |
| 39 | + | </BeginStoryboard> |
| 40 | + | </EventTrigger> |
| 41 | + | </ControlTemplate.Triggers> |
| 42 | + | </ControlTemplate> |
| 43 | + | </Setter.Value> |
| 44 | + | </Setter> |
| 45 | + | </Style> |
| 46 | + | <Style x:Key="cmbBtn" TargetType="Button"> |
| 47 | + | <Setter Property="OverridesDefaultStyle" Value="True" /> |
| 48 | + | <Setter Property="Background" Value="#FF272E3B" /> |
| 49 | + | <Setter Property="Height" Value="25" /> |
| 50 | + | <Setter Property="Foreground" Value="#FF929496" /> |
| 51 | + | <Setter Property="FontSize" Value="13" /> |
| 52 | + | <Setter Property="Template"> |
| 53 | + | |
| 54 | + | <Setter.Value> |
| 55 | + | <ControlTemplate TargetType="Button"> |
| 56 | + | <Border Name="border" BorderThickness="0" BorderBrush="Black" |
| 57 | + | Background="{TemplateBinding Background}"> |
| 58 | + | <ContentPresenter HorizontalAlignment="Left" VerticalAlignment="Center" Margin="30,0,0,0" /> |
| 59 | + | </Border> |
| 60 | + | <ControlTemplate.Triggers> |
| 61 | + | <Trigger Property="IsMouseOver" Value="True"> |
| 62 | + | <Setter Property="Background" Value="#FF323945" /> |
| 63 | + | <Setter Property="Foreground" Value="#FFC3C4C8" /> |
| 64 | + | </Trigger> |
| 65 | + | </ControlTemplate.Triggers> |
| 66 | + | </ControlTemplate> |
| 67 | + | </Setter.Value> |
| 68 | + | </Setter> |
| 69 | + | </Style> |
| 70 | + | </Window.Resources> |
| 71 | + | <Grid> |
| 72 | + | <Grid.RowDefinitions> |
| 73 | + | <RowDefinition Height="25" /> |
| 74 | + | <RowDefinition Height="300" /> |
| 75 | + | </Grid.RowDefinitions> |
| 76 | + | <Grid Background="Transparent" x:Name="toolbar" Grid.Row="0" MouseDown="toolbar_MouseDown"> |
| 77 | + | <Polygon Fill="White" Opacity="0.2" Points="107,0,115,7,249,7,257,0" /> |
| 78 | + | <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
| 79 | + | <Image Height="25" Width="25"></Image> |
| 80 | + | <Image Height="25" Width="25"></Image> |
| 81 | + | </StackPanel> |
| 82 | + | </Grid> |
| 83 | + | <Border Grid.Row="2" Height="25" Width="330" HorizontalAlignment="Center" VerticalAlignment="Top" BorderThickness="1" Background="Black"> |
| 84 | + | <Border.Style> |
| 85 | + | <Style TargetType="{x:Type Border}"> |
| 86 | + | <Setter Property="BorderBrush" Value="#FF333842" /> |
| 87 | + | <Style.Triggers> |
| 88 | + | <Trigger Property="IsMouseOver" Value="True"> |
| 89 | + | <Setter Property="BorderBrush" Value="#FF51555c" /> |
| 90 | + | </Trigger> |
| 91 | + | <EventTrigger RoutedEvent="PreviewMouseDown"> |
| 92 | + | <BeginStoryboard> |
| 93 | + | <Storyboard> |
| 94 | + | <ColorAnimation Storyboard.TargetProperty="BorderBrush.Color" Duration="0:0:0.100" To="#FF333842"></ColorAnimation> |
| 95 | + | </Storyboard> |
| 96 | + | </BeginStoryboard> |
| 97 | + | </EventTrigger> |
| 98 | + | <EventTrigger RoutedEvent="PreviewMouseUp"> |
| 99 | + | <BeginStoryboard> |
| 100 | + | <Storyboard> |
| 101 | + | <ColorAnimation Storyboard.TargetProperty="BorderBrush.Color" Duration="0:0:0.100" To="#FF51555c"></ColorAnimation> |
| 102 | + | </Storyboard> |
| 103 | + | </BeginStoryboard> |
| 104 | + | </EventTrigger> |
| 105 | + | </Style.Triggers> |
| 106 | + | </Style> |
| 107 | + | </Border.Style> |
| 108 | + | <Button Style="{StaticResource ComboboxButton}" Click="Button_Click"> |
| 109 | + | <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Width="328"> |
| 110 | + | <TextBlock x:Name="select" Height="16" Width="272" Margin="5,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Jeromin Cody Eric" Foreground="#FF929496" FontSize="14" /> |
| 111 | + | <Polygon Fill="White" Opacity="0.2" Points="15,5,20,15,25,5" HorizontalAlignment="Right" VerticalAlignment="Center" Width="51" /> |
| 112 | + | </StackPanel> |
| 113 | + | </Button> |
| 114 | + | </Border> |
| 115 | + | <Grid x:Name="cmb" Grid.Row="2" Height="140" Width="340" VerticalAlignment="Top" Margin="9,30,0,0" Visibility="Hidden" Panel.ZIndex="1"> |
| 116 | + | <Polygon Fill="Black" StrokeThickness="1" Stroke="#FF0C0101" Margin="0,2,0,0" |
| 117 | + | Points=" |
| 118 | + | 0,8, |
| 119 | + | 0,133, |
| 120 | + | 330,133, |
| 121 | + | 330,8, |
| 122 | + | 308,8, |
| 123 | + | 298,0, |
| 124 | + | 288,8" /> |
| 125 | + | <Polygon Fill="#FF272E3B" StrokeThickness="1" Margin="0,2,0,0" |
| 126 | + | Points=" |
| 127 | + | 0,8, |
| 128 | + | 0,133, |
| 129 | + | 330,133, |
| 130 | + | 330,8, |
| 131 | + | 308,8, |
| 132 | + | 298,0, |
| 133 | + | 288,8" /> |
| 134 | + | <Grid Height="133" Width="330" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,10,0,0"> |
| 135 | + | <StackPanel Orientation="Vertical"> |
| 136 | + | <Button x:Name="Jeromin" Style="{StaticResource cmbBtn}" Click="Jeromin_Click"> |
| 137 | + | <TextBlock Text="Jeromin Cody Eric" /> |
| 138 | + | </Button> |
| 139 | + | <Button x:Name="Handan" Style="{StaticResource cmbBtn}" Click="Handan_Click"> |
| 140 | + | <TextBlock Text="Handan" /> |
| 141 | + | </Button> |
| 142 | + | <Button x:Name="TrustAsia" Style="{StaticResource cmbBtn}" Click="TrustAsia_Click"> |
| 143 | + | <TextBlock Text="TrustAsia" /> |
| 144 | + | </Button> |
| 145 | + | <Button x:Name="GeoTrust0" Style="{StaticResource cmbBtn}" Click="GeoTrust0_Click"> |
| 146 | + | <TextBlock Text="GeoTrust 2010" /> |
| 147 | + | </Button> |
| 148 | + | <Button x:Name="GeoTrust1" Style="{StaticResource cmbBtn}" Click="GeoTrust1_Click"> |
| 149 | + | <TextBlock Text="GeoTrust 2011" /> |
| 150 | + | </Button> |
| 151 | + | </StackPanel> |
| 152 | + | </Grid> |
| 153 | + | </Grid> |
| 154 | + | <Grid Background="#FF11141A" Margin="18,30,0,-107" Grid.Row="1" Width="330" Height="378" VerticalAlignment="Top" HorizontalAlignment="Left" Panel.ZIndex="-1" Drop="Grid_Drop" AllowDrop="True"> |
| 155 | + | <Image Name="sysicon" Panel.ZIndex="1" Source="img/sys.png" Stretch="Uniform" Margin="83,30,82,122" Opacity="0.50"/> |
| 156 | + | <TextBlock Name="Droped" Text="" FontSize="16" Foreground="White" Margin="83,261,82,86" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
| 157 | + | </Grid> |
| 158 | + | <Button Name="signb" Content="Sign" Margin="18,0,17,-148" HorizontalAlignment="Center" VerticalAlignment="Bottom" Grid.Row="1" Width="330" Height="35" FontSize="16" Foreground="White" Cursor="Hand" Click="sign_Click"> |
| 159 | + | <Button.Style> |
| 160 | + | <Style TargetType="Button"> |
| 161 | + | <Setter Property="OverridesDefaultStyle" Value="True" /> |
| 162 | + | <Setter Property="Background" Value="#FF0e86CA" /> |
| 163 | + | <Setter Property="Template"> |
| 164 | + | <Setter.Value> |
| 165 | + | <ControlTemplate TargetType="Button"> |
| 166 | + | <Border x:Name="border" BorderBrush="Black" BorderThickness="0" Background="{TemplateBinding Background}"> |
| 167 | + | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> |
| 168 | + | </Border> |
| 169 | + | <ControlTemplate.Triggers> |
| 170 | + | <Trigger Property="IsMouseOver" Value="True"> |
| 171 | + | <Setter Property="Background" Value="#FF008AEF" /> |
| 172 | + | </Trigger> |
| 173 | + | <EventTrigger RoutedEvent="PreviewMouseDown"> |
| 174 | + | <BeginStoryboard> |
| 175 | + | <Storyboard> |
| 176 | + | <ColorAnimation Storyboard.TargetProperty="Background.Color" Duration="0:0:0.0002" To="#FF095386"></ColorAnimation> |
| 177 | + | </Storyboard> |
| 178 | + | </BeginStoryboard> |
| 179 | + | </EventTrigger> |
| 180 | + | <EventTrigger RoutedEvent="PreviewMouseUp"> |
| 181 | + | <BeginStoryboard> |
| 182 | + | <Storyboard> |
| 183 | + | <ColorAnimation Storyboard.TargetProperty="Background.Color" Duration="0:0:0.0002" To="#FF0e86CA"></ColorAnimation> |
| 184 | + | </Storyboard> |
| 185 | + | </BeginStoryboard> |
| 186 | + | </EventTrigger> |
| 187 | + | </ControlTemplate.Triggers> |
| 188 | + | </ControlTemplate> |
| 189 | + | </Setter.Value> |
| 190 | + | </Setter> |
| 191 | + | </Style> |
| 192 | + | </Button.Style> |
| 193 | + | </Button> |
| 194 | + | </Grid> |
| 195 | + | </Window> |