|
<Window x:Class="TRIS.FormFill.Tester.AskTablenameWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Add table" Height="240" Width="300" Background="{StaticResource WindowBGGBrush}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width=".5*"/>
<ColumnDefinition Width=".5*"/>
</Grid.ColumnDefinitions>
<DockPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" LastChildFill="True">
<TextBlock Style="{StaticResource DarkLabel}" Margin="3" DockPanel.Dock="Left" VerticalAlignment="Center">Table name:</TextBlock>
<TextBox Name="newTableNameTextBox" Margin="3" HorizontalAlignment="Stretch" TextChanged="newTableNameTextBox_TextChanged"></TextBox>
</DockPanel>
<TextBlock Style="{StaticResource DarkLabel}" Grid.Row="1" Grid.Column="0" Margin="3" HorizontalAlignment="Right" VerticalAlignment="Center">Field 1:</TextBlock>
<TextBox Grid.Row="1" Grid.Column="1" Margin="3" Name="field1TextBox"></TextBox>
<TextBlock Style="{StaticResource DarkLabel}" Grid.Row="2" Grid.Column="0" Margin="3" HorizontalAlignment="Right" VerticalAlignment="Center">Field 2:</TextBlock>
<TextBox Grid.Row="2" Grid.Column="1" Margin="3" Name="field2TextBox"></TextBox>
<TextBlock Style="{StaticResource DarkLabel}" Grid.Row="3" Grid.Column="0" Margin="3" HorizontalAlignment="Right" VerticalAlignment="Center">Field 3:</TextBlock>
<TextBox Grid.Row="3" Grid.Column="1" Margin="3" Name="field3TextBox"></TextBox>
<TextBlock Style="{StaticResource DarkLabel}" Grid.Row="4" Grid.Column="0" Margin="3" HorizontalAlignment="Right" VerticalAlignment="Center">Field 4:</TextBlock>
<TextBox Grid.Row="4" Grid.Column="1" Margin="3" Name="field4TextBox"></TextBox>
<TextBlock Style="{StaticResource DarkLabel}" Grid.Row="5" Grid.Column="0" Margin="3" HorizontalAlignment="Right" VerticalAlignment="Center">Field 5:</TextBlock>
<TextBox Grid.Row="5" Grid.Column="1" Margin="3" Name="field5TextBox"></TextBox>
<Button Grid.Row="7" Grid.Column="0" Name="okButton" Margin="3" Padding="3" IsDefault="True" HorizontalAlignment="Right" MinWidth="75" IsEnabled="False" Click="okButton_Click">_OK</Button>
<Button Grid.Row="7" Grid.Column="1" Name="cancelButton" Margin="3" Padding="3" IsCancel="True" HorizontalAlignment="Left" MinWidth="75" Click="cancelButton_Click">_Cancel</Button>
</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'm working since 1999 in an IT environment: started developing in PROGRESS 4GL, then VB6 and am working since 2003 with C#. I'm currently transitioning to HTML5, CSS3 and JavaScript for the front-end development.
I started my own company (TRI-S) in 2007 and co-founded another one (Cogenius) in 2012.
Besides being a Microsoft Certified Professional Developer (MCPD) I'm also a Microsoft Certified Trainer (MCT) and am teaching .NET and JavaScript courses.