Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="FinalPasteBin.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="C# PasteBin" Height="480" Width="645
- " ResizeMode="NoResize" WindowStartupLocation="CenterScreen" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Window.TaskbarItemInfo>
- <TaskbarItemInfo Description="C# Pastebin"/>
- </Window.TaskbarItemInfo>
- <Window.Background>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="Black" Offset="0.594"/>
- <GradientStop Color="#FF3C3939" Offset="1"/>
- </LinearGradientBrush>
- </Window.Background>
- <Grid OpacityMask="Black" Height="451" VerticalAlignment="Top">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="40*"/>
- <ColumnDefinition Width="39*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40*"/>
- <RowDefinition Height="345*"/>
- <RowDefinition Height="51*"/>
- <RowDefinition Height="15*"/>
- </Grid.RowDefinitions>
- <TextBox x:Name="txtCode" Height="328" Grid.Row="1" TabIndex="1" TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="10,0,10,7" Padding="10,10,10,10" Grid.ColumnSpan="2" OpacityMask="Black" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" Foreground="White" BorderBrush="#FF3399FF">
- <TextBox.Background>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="Black" Offset="0"/>
- <GradientStop Color="#FF111111" Offset="1"/>
- </LinearGradientBrush>
- </TextBox.Background>
- </TextBox>
- <TextBox x:Name="txtTitle" Height="18" Margin="48,10,10,0" TextWrapping="Wrap" VerticalAlignment="Top" FontSize="10" Grid.ColumnSpan="2" OpacityMask="Black" Background="Black" BorderBrush="#FF18348B" Foreground="White" TabIndex="0"/>
- <Grid Margin="10,0,10,30" Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Button x:Name="btnPasteFromClipboard" Content="From Clipboard" VerticalAlignment="Top" Grid.Column="1" Height="20" RenderTransformOrigin="0.5,0.5" Margin="2,0,0,0" Foreground="Black" FontFamily="Euphemia" BorderBrush="{x:Null}" FontWeight="Bold" TabIndex="3" Click="BtnPasteFromClipboard_OnClick">
- <Button.Background>
- <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
- <GradientStop Color="#FF0A630E" Offset="0.207"/>
- <GradientStop Color="#FF00FF0C" Offset="0.888"/>
- </LinearGradientBrush>
- </Button.Background>
- <Button.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform/>
- <RotateTransform Angle="0.203"/>
- <TranslateTransform/>
- </TransformGroup>
- </Button.RenderTransform>
- </Button>
- <Button Content="From Text" VerticalAlignment="Top" Height="20" Margin="0,0,6,0" Foreground="Black" BorderBrush="{x:Null}" FontFamily="Euphemia" FontWeight="Bold" TabIndex="2" Click="FromTextButtonClick">
- <Button.Background>
- <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0">
- <GradientStop Color="#FF0A630E" Offset="0.207"/>
- <GradientStop Color="#FF00FF0C" Offset="0.888"/>
- </LinearGradientBrush>
- </Button.Background>
- </Button>
- </Grid>
- <Label Content="Title" HorizontalAlignment="Left" Margin="11,4,0,0" VerticalAlignment="Top" Height="28" OpacityMask="Black" Foreground="White" Width="32"/>
- <Button Content="Exit" Margin="10,0" Grid.Row="2" VerticalAlignment="Top" Height="21" Foreground="White" TabIndex="4" Click="ExitButtonClick" Grid.Column="1">
- <Button.BorderBrush>
- <SolidColorBrush Color="Black" Opacity="0.2"/>
- </Button.BorderBrush>
- <Button.Background>
- <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
- <GradientStop Color="Black" Offset="0"/>
- <GradientStop Color="#FF7A2121" Offset="1"/>
- <GradientStop Color="#FFC50202" Offset="0.438"/>
- </LinearGradientBrush>
- </Button.Background>
- </Button>
- <TextBox x:Name="txtOutput" Margin="10,30,10,0" Grid.Row="2" TextWrapping="Wrap" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" IsReadOnly="True"/>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement