-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
90 lines (89 loc) · 4.75 KB
/
MainWindow.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
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
<dx:ThemedWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
xmlns:dxre="http://schemas.devexpress.com/winfx/2008/xaml/richedit" x:Class="DXApplication2.MainWindow"
xmlns:fa="http://schemas.fontawesome.io/icons/"
Title="Nástroj na generování tříd entit z databáze" Height="560" Width="710" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Grid>
<TabControl>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Tabulky"></TextBlock>
</StackPanel>
</TabItem.Header>
<Grid>
<StackPanel Margin="20" x:Name="stackpanel1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300">
</StackPanel>
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Pohledy"></TextBlock>
</StackPanel>
</TabItem.Header>
<Grid>
<StackPanel Margin="20" x:Name="stackpanel2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="300">
</StackPanel>
</Grid>
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Změny"></TextBlock>
</StackPanel>
</TabItem.Header>
<StackPanel Grid.Column="1" Margin="20" HorizontalAlignment="Center" VerticalAlignment="Center">
<Label FontWeight="Bold" Content="Přehled změn"/>
<RichTextBox MinWidth="500" Height="388">
<FlowDocument>
<Paragraph>
<Bold>1.</Bold> V případě kdy tabulka má změněné pole než v souboru.
</Paragraph>
<Paragraph>
<Bold>2.</Bold> V případě kdy pole má jiný datový typ než v souboru.
</Paragraph>
<Paragraph>
<Bold>3.</Bold> V tabulce nově přibylo pole, které dosud nebylo definováno v souboru.
</Paragraph>
</FlowDocument>
</RichTextBox>
</StackPanel>
</TabItem>
<TabItem>
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Generovat soubory"></TextBlock>
</StackPanel>
</TabItem.Header>
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<StackPanel Margin="20" HorizontalAlignment="Center" VerticalAlignment="Center">
<Label FontWeight="Bold" Content="Souhrn výsledků"/>
<RichTextBox x:Name="richTextBox" MinWidth="500" Height="388">
<FlowDocument>
<FlowDocument.Resources>
<Style TargetType="{x:Type Paragraph}">
<Setter Property="Margin" Value="0"/>
</Style>
</FlowDocument.Resources>
</FlowDocument>
</RichTextBox>
<!--<fa:ImageAwesome Icon="Flag" VerticalAlignment="Center" HorizontalAlignment="Center" />-->
</StackPanel>
<StackPanel Grid.Row="1">
<Button Width="100" Click="Button_Click">Generovat</Button>
</StackPanel>
</Grid>
</TabItem>
</TabControl>
</Grid>
</ScrollViewer>
</dx:ThemedWindow>