-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathServerLogWindow.xaml
47 lines (47 loc) · 2.46 KB
/
ServerLogWindow.xaml
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
<Window x:Class="ValheimServerWarden.ServerLogWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:ValheimServerWarden"
mc:Ignorable="d"
xmlns:ui="http://schemas.modernwpf.com/2019"
ui:WindowHelper.UseModernWindowStyle="True"
Title="ServerLogWindow" Height="450" Width="800" Loaded="Window_Loaded">
<Grid>
<RichTextBox x:Name="txtLog" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ContextMenuOpening="txtLog_ContextMenuOpening">
<RichTextBox.ContextMenu>
<ContextMenu>
<MenuItem x:Name="menuLogSelectAll" Header="Select All" Click="menuLogSelectAll_Click">
<MenuItem.Icon>
<Image Source="Resources/SelectAll_32x.png"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="menuLogCopy" Header="Copy" Click="menuLogCopy_Click">
<MenuItem.Icon>
<Image Source="Resources/Copy_32x.png"/>
</MenuItem.Icon>
</MenuItem>
<Separator/>
<MenuItem x:Name="menuRefresh" Header="Refresh" Visibility="Collapsed" Click="menuRefresh_Click">
<MenuItem.Icon>
<Image Source="Resources/Refresh_32x.png"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="menuStop" Header="Stop automatic refresh" Click="menuStop_Click">
<MenuItem.Icon>
<Image Source="Resources/Stop_32x.png"/>
</MenuItem.Icon>
</MenuItem>
<MenuItem x:Name="menuStart" Header="Start automatic refresh" Visibility="Collapsed" Click="menuStart_Click">
<MenuItem.Icon>
<Image Source="Resources/StartWithoutDebug_32x.png"/>
</MenuItem.Icon>
</MenuItem>
</ContextMenu>
</RichTextBox.ContextMenu>
<FlowDocument>
</FlowDocument>
</RichTextBox>
</Grid>
</Window>