Update MainWindow.xaml
This commit is contained in:
parent
3feff69b9e
commit
313bb6d990
@ -12,6 +12,8 @@
|
|||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
|
WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
|
||||||
<Window.Resources>
|
<Window.Resources>
|
||||||
|
|
||||||
|
|
||||||
<Style x:Key="InvisibleButtonStyle" TargetType="Button">
|
<Style x:Key="InvisibleButtonStyle" TargetType="Button">
|
||||||
<Setter Property="Background" Value="Transparent"/>
|
<Setter Property="Background" Value="Transparent"/>
|
||||||
<Setter Property="BorderBrush" Value="Transparent"/>
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
||||||
@ -50,6 +52,7 @@
|
|||||||
</Setter>
|
</Setter>
|
||||||
</Style>
|
</Style>
|
||||||
</Window.Resources>
|
</Window.Resources>
|
||||||
|
|
||||||
<Border CornerRadius="15" BorderThickness="20" BorderBrush="#FF282828">
|
<Border CornerRadius="15" BorderThickness="20" BorderBrush="#FF282828">
|
||||||
<Grid Margin="-10,-10,-10,-10" Background="#FF282828">
|
<Grid Margin="-10,-10,-10,-10" Background="#FF282828">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
@ -81,6 +84,19 @@
|
|||||||
VerticalAlignment="Top"/>
|
VerticalAlignment="Top"/>
|
||||||
</Button>
|
</Button>
|
||||||
<Grid Margin="298,17,0,176" Grid.ColumnSpan="3">
|
<Grid Margin="298,17,0,176" Grid.ColumnSpan="3">
|
||||||
|
|
||||||
|
|
||||||
|
<Popup x:Name="popup" Placement="Center" IsOpen="False" LostFocus="Popup_LostFocus">
|
||||||
|
<StackPanel Background="White" Orientation="Vertical" Width="200" Height="150" Margin="10">
|
||||||
|
<Button Content="Button 1" Click="Button1_Click" Margin="5"/>
|
||||||
|
<Button Content="Button 2" Click="Button2_Click" Margin="5"/>
|
||||||
|
<Button Content="Button 3" Click="Button3_Click" Margin="5"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Popup>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Rectangle Stroke="#FF6332A0" Fill="#FF6332A0" Width="682"/>
|
<Rectangle Stroke="#FF6332A0" Fill="#FF6332A0" Width="682"/>
|
||||||
<TextBlock Text="Name" Margin="108,18,134,18" FontSize="40" Foreground="White" />
|
<TextBlock Text="Name" Margin="108,18,134,18" FontSize="40" Foreground="White" />
|
||||||
<Image Source="/PICA.jpg" Width="80" Height="80" Stretch="Fill" Margin="10,8,592,7">
|
<Image Source="/PICA.jpg" Width="80" Height="80" Stretch="Fill" Margin="10,8,592,7">
|
||||||
@ -88,8 +104,10 @@
|
|||||||
<EllipseGeometry Center="40,40" RadiusX="40" RadiusY="40"/>
|
<EllipseGeometry Center="40,40" RadiusX="40" RadiusY="40"/>
|
||||||
</Image.Clip>
|
</Image.Clip>
|
||||||
</Image>
|
</Image>
|
||||||
|
<Button Content="⋮" HorizontalAlignment="Left" Margin="638,8,0,0" VerticalAlignment="Top" Width="19" Height="70" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White" FontSize="58"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid Margin="76,17,454,176">
|
<Grid Margin="76,17,454,176">
|
||||||
|
|
||||||
<Rectangle Stroke="#FF282828" Fill="#FF282828"/>
|
<Rectangle Stroke="#FF282828" Fill="#FF282828"/>
|
||||||
<TextBlock Text="Chats" Foreground="White" FontSize="22" Margin="10,18,134,39" />
|
<TextBlock Text="Chats" Foreground="White" FontSize="22" Margin="10,18,134,39" />
|
||||||
<TextBox
|
<TextBox
|
||||||
@ -151,7 +169,7 @@
|
|||||||
x:Name="messageBOX"
|
x:Name="messageBOX"
|
||||||
FontSize="20"
|
FontSize="20"
|
||||||
BorderBrush="Transparent"
|
BorderBrush="Transparent"
|
||||||
Margin="298,346,76,10"
|
Margin="298,346,76,0"
|
||||||
Background="#FF323134"
|
Background="#FF323134"
|
||||||
Foreground="White"
|
Foreground="White"
|
||||||
SelectionBrush="#FF6332A0" KeyDown="messageBOX_KeyDown" Grid.ColumnSpan="3" Grid.Row="1"/>
|
SelectionBrush="#FF6332A0" KeyDown="messageBOX_KeyDown" Grid.ColumnSpan="3" Grid.Row="1"/>
|
||||||
@ -160,6 +178,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Border>
|
</Border>
|
||||||
</Window>
|
</Window>
|
||||||
|
Loading…
Reference in New Issue
Block a user