-
Notifications
You must be signed in to change notification settings - Fork 0
/
DashboardPage.xaml
56 lines (54 loc) · 2.67 KB
/
DashboardPage.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
<Page x:Class="SQL_Dummy_Data_Generator.DashboardPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SQL_Dummy_Data_Generator"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
d:DesignHeight="358" d:DesignWidth="1000" Loaded="Window_Loaded"
Title="DashboardPage">
<Grid Background="White">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Label VerticalAlignment="Top" Height="30">Databases</Label>
<ScrollViewer Margin="0,30,0,0">
<StackPanel Name="DatabasePanel"/>
</ScrollViewer>
</Grid>
<GridSplitter Grid.Column="0" Width="2" Background="Black"/>
<Grid Grid.Column="1">
<Label VerticalAlignment="Top" Height="30">Tables</Label>
<ScrollViewer Margin="0,30,0,0">
<StackPanel Name="TablePanel"/>
</ScrollViewer>
</Grid>
<GridSplitter Grid.Column="1" Width="2" Background="Black"/>
<Grid Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="60" />
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0">
<StackPanel Name="ColumnPanel">
<!--<controls:BoolColumnControl/>
<controls:DateTimeColumnControl/>
<controls:IntColumnControl/>
<controls:StringColumnControl/>
<controls:DecimalColumnControl/>-->
</StackPanel>
</ScrollViewer>
<Grid Grid.Row="1" Name="BottomGrid" IsEnabled="False">
<ProgressBar Name="ProgressBar" Height="10" VerticalAlignment="Top"/>
<Button Content="Execute" Margin="225,20,0,10" HorizontalAlignment="Left" Width="100" Click="ExecuteButton_Click"/>
<Button Content="Save As SQL" Width="100" Margin="330,20,0,10" HorizontalAlignment="Left" Click="SqlButton_Click"/>
<xctk:IntegerUpDown Name="RecordCount" Width="100" Margin="105,20,0,10" HorizontalAlignment="Left"/>
<Label Content="Records" Margin="0,20,0,10" VerticalAlignment="Center" HorizontalAlignment="Left" Width="100"/>
</Grid>
</Grid>
</Grid>
</Page>