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
|
<Window x:Class="ProfessionalTools.MainContentWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Professionnal Tools" Height="708" Width="1195">
<TabControl>
<TabItem Header="Field Finder" Name="tbItemFieldFinder">
<Grid Name="grdFieldFinder">
<Menu VerticalAlignment="Top">
<MenuItem Name="menuFFExit" Header="Exit" Click="onFFMenuExit_Click" />
<MenuItem Name="menuFFHelp" Header="Help">
<MenuItem Name="menuFFDsplyHelp" Header="Help"/>
<MenuItem Name="menuFFAboutUs" Header="About us"/>
</MenuItem>
</Menu>
<ListBox HorizontalAlignment="Left" Margin="12,95,0,60" Name="lstBxTables" Width="204" SelectionMode="Extended" />
<Button Height="34" HorizontalAlignment="Left" Margin="12,0,0,12" Name="btnGetCommonFields" VerticalAlignment="Bottom" Width="204" Click="btnGetCommonFields_Click">Get common fields</Button>
<TextBlock Height="51" HorizontalAlignment="Left" Margin="12,38,0,0" Name="lblDesc" VerticalAlignment="Top" Width="204" FlowDirection="LeftToRight" TextWrapping="Wrap">
Select table in which you wish to find common fields (press ctrl + left click for multi selection)
</TextBlock>
<Button Height="34" HorizontalAlignment="Right" Margin="0,0,6,12" Name="btnExportToExcel" VerticalAlignment="Bottom" Width="112">Export to excel</Button>
<Button Height="34" HorizontalAlignment="Left" Margin="918,0,0,12" Name="btnCreateSqlQuery" VerticalAlignment="Bottom" Width="112">Create SQL Query</Button>
<Label Height="28" HorizontalAlignment="Left" Margin="239,61,0,0" Name="label1" VerticalAlignment="Top" Width="120">Filter by colomn:</Label>
<ComboBox Height="23" HorizontalAlignment="Left" Margin="338,65,0,0" Name="comboBox1" VerticalAlignment="Top" Width="184" />
<Label Height="28" Margin="0,61,450,0" Name="label2" VerticalAlignment="Top" HorizontalAlignment="Right" Width="89">Filter by field:</Label>
<ComboBox Height="23" HorizontalAlignment="Right" Margin="0,66,260,0" Name="comboBox2" VerticalAlignment="Top" Width="196" />
//ici
<my:DataGrid AutoGenerateColumns="False" Margin="222,95,6,60" Name="dgResultCommonFields" xmlns:my="http://schemas.microsoft.com/wpf/2008/toolkit"/>
</Grid>
</TabItem>
<TabItem Header="Time Manager" Name="tbItemTimeManager">
<Grid Height="Auto" Name="grdTimeManager" Width="Auto" HorizontalAlignment="Stretch">
<Menu VerticalAlignment="Top">
<MenuItem Name="menuTMExit" Header="Exit" Click="onFFMenuExit_Click" />
<MenuItem Name="menuTMHelp" Header="Help">
<MenuItem Name="menuTMDsplyHelp" Header="Help"/>
<MenuItem Name="menuTMAboutUs" Header="About us"/>
</MenuItem>
</Menu>
<Button Height="31" HorizontalAlignment="Left" Margin="6,43,0,0" Name="btnManageClientWBS2" VerticalAlignment="Top" Width="216" Click="btnManageClientWBS2_Click">Manage Clients/WBS2 Code</Button>
<Button Height="31" HorizontalAlignment="Left" Margin="6,90,0,0" Name="btnEnterTime" VerticalAlignment="Top" Width="216">Enter time</Button>
<Button Height="31" HorizontalAlignment="Left" Margin="6,137,0,0" Name="btnReport" VerticalAlignment="Top" Width="216">Report</Button>
<Expander Header="Quick Access" Height="67" HorizontalAlignment="Left" Margin="247,43,0,0" Name="expander1" VerticalAlignment="Top" Width="150" BorderBrush="Transparent" BorderThickness="1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="22*" />
<ColumnDefinition Width="126*" />
</Grid.ColumnDefinitions>
<Button Height="23" Margin="0,6,51,0" Name="btnAddClient" VerticalAlignment="Top" Grid.Column="1" Click="btnAddClient_Click">Add a client</Button>
</Grid>
</Expander>
</Grid>
</TabItem>
</TabControl>
</Window> |
Partager