|
<Window x:Class="SSISWindowsLauncher.WinMain"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:kit="http://schemas.microsoft.com/wpf/2008/toolkit"
xmlns:WF="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
Background="#E0E5FF" BorderThickness="1" BorderBrush="AliceBlue"
Title="SSIS Package Windows Launcher" WindowState="Maximized" FontFamily="Verdana" FontSize="12">
<Grid Margin="10, 10, 10, 10">
<Grid.RowDefinitions>
<RowDefinition Height="40"/>
<RowDefinition Height="155"/>
<RowDefinition Height="*"/>
<RowDefinition Height="40"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0" Margin="0, 10, 0, 0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="155" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="155" />
</Grid.ColumnDefinitions>
<Label Grid.Column="0" x:Name="lblPackagePath" Foreground="Blue" Cursor="Hand" FontSize="14" HorizontalAlignment="Right" MouseDown="lblPackagePath_MouseDown">lblPackagePath</Label>
<Button Grid.Column="2" x:Name="btnLocatePackage" Click="btnLocatePackage_Click">Load SSIS Package</Button>
<Button Grid.Column="4" x:Name="btnClearPackage" Click="btnClearPackage_Click">Clear Package</Button>
</Grid>
<WindowsFormsHost Grid.Row="1" Name="WFHTBConnections" Margin="0, 15, 0, 0">
<WF:DataGridView x:Name="TBConnections" BackgroundColor="White" AutoSizeColumnsMode="AllCells"></WF:DataGridView>
</WindowsFormsHost>
<WindowsFormsHost Grid.Row="2" Name="WFHTBExecutionLog" Margin="0, 15, 0, 0">
<WF:DataGridView x:Name="TBExecutionLog" BackgroundColor="White" ReadOnly="True" AutoSizeColumnsMode="AllCells"></WF:DataGridView>
</WindowsFormsHost>
<Grid Grid.Row="3" Margin="0, 10, 0, 0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="300" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="180" />
<ColumnDefinition Width="10" />
<ColumnDefinition Width="180" />
</Grid.ColumnDefinitions>
<Button Grid.Column="1" x:Name="btnLaunchSSIS" Click="btnLaunchSSIS_Click">Execute SSIS Package</Button>
<Button Grid.Column="3" x:Name="btnClearExecutionLog" Click="btnClearExecutionLog_Click">Clear SSIS Execution Log</Button>
<Button Grid.Column="5" x:Name="btnClose" Click="btnClose_Click">Close</Button>
</Grid>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been working in the IT industry for some time. It is still exciting and I am still learning. I am a happy and honest person, and I want to be your friend.