Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AboutWindow.axaml « Windows « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 474155defed156727ed359ba3197a7eacf53cad9 (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<Window xmlns="https://github.com/avaloniaui"
        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"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="UVtools.WPF.Windows.AboutWindow"
        WindowStartupLocation="CenterOwner"
        SizeToContent="WidthAndHeight"
        CanResize="False"
        Title="About UVtools"
        Icon="/Assets/Icons/UVtools.ico">

  <StackPanel Orientation="Vertical">
    <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
      <Border Margin="20,20,0,20">
      <StackPanel Spacing="5">
        <Image Margin="0,0,0,15" HorizontalAlignment="Center" Source="/Assets/Icons/UVtools_alt.ico" Width="256"/>
        <TextBox 
          Text="{Binding OSDescription}"
          IsReadOnly="True" 
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Operative System:"
          UseFloatingWatermark="True"/>

        <TextBox
          Text="{Binding FrameworkDescription}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Framework:"
          UseFloatingWatermark="True"/>

        <TextBox
          Text="{Binding ProcessorCount}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Processor Count:"
          UseFloatingWatermark="True"/>

        <TextBox
          Text="{Binding ScreensDescription}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Screens, resolution, working area, usable area:"
          UseFloatingWatermark="True"/>

        <!--
        <TextBox
          Text="{Binding ScreenResolution}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Resolution:"
          UseFloatingWatermark="True"/>

        <TextBox
          Text="{Binding WorkingArea}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Working Area:"
          UseFloatingWatermark="True"/>

        <TextBox
          Text="{Binding RealWorkingArea}"
          IsReadOnly="True"
          BorderBrush="Transparent"
          CaretBrush="Transparent"
          Watermark="Real Working Area:"
          UseFloatingWatermark="True"/>
          -->
      </StackPanel>
      </Border>
      <Grid 
        RowDefinitions="Auto,10,Auto,10,Auto,10,Auto,10,*"
        Margin="20"
        >

        <TextBlock Grid.Row="0" Text="{Binding Software}" FontWeight="Bold"/>
        <TextBlock Grid.Row="2" Text="{Binding Version}"/>
        <TextBlock Grid.Row="4" Text="{Binding Copyright}"/>
        <TextBlock Grid.Row="6" Text="{Binding Company}"/>
        <TextBox Grid.Row="8" 
                 IsReadOnly="True"
                 Text="{Binding Description}"/>
      </Grid>
    </StackPanel>

    <Border Background="WhiteSmoke">
        <Button 
          Command="{Binding Close}"
          HotKey="Escape"
          Padding="10" 
          Margin="20" 
          HorizontalAlignment="Right">
          <StackPanel Spacing="10" VerticalAlignment="Center" Orientation="Horizontal">
            <Image Source="/Assets/Icons/exit-16x16.png"/>
            <TextBlock Grid.Row="6" Text="Close"/>
          </StackPanel>
        </Button>
    </Border>
    
  </StackPanel>
</Window>