Created
March 26, 2013 13:38
-
-
Save gabaruga/5245426 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Window x:Class="SQLEditor.MainWindow" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
Title="MainWindow" Height="350" Width="525"> | |
<TabControl Name="tab" SelectionChanged="TabControl_SelectionChanged"> | |
<TabItem Header="Філії"> | |
<DockPanel LastChildFill="True"> | |
<StackPanel DockPanel.Dock="Bottom" VerticalAlignment="Bottom"> | |
<StackPanel Orientation="Horizontal" Margin="5" > | |
<TextBlock Padding="0,0,10,0">Назва філії:</TextBlock> | |
<TextBox Width="300" Name="boxBranch"></TextBox> | |
</StackPanel> | |
<StackPanel Orientation="Horizontal" Margin="1" HorizontalAlignment="Right"> | |
<Button Margin="0,0,10,0" >Оновити</Button> | |
<Button Margin="0,0,10,0" >Редагувати</Button> | |
<Button Margin="0,0,10,0" >Видалити</Button> | |
</StackPanel> | |
</StackPanel> | |
<DataGrid SelectionMode="Single" DockPanel.Dock="Top" Name="dataGridBRN" IsReadOnly="True" SelectionChanged="dataGridBRN_SelectionChanged"> | |
</DataGrid> | |
</DockPanel> | |
</TabItem> | |
<TabItem Header="Сервіси"> | |
<DockPanel LastChildFill="True"> | |
<StackPanel DockPanel.Dock="Bottom" VerticalAlignment="Bottom"> | |
<StackPanel Orientation="Horizontal" Margin="5" > | |
<TextBlock Padding="0,0,10,0">Назва сервісу:</TextBlock> | |
<TextBox Width="300" Name="boxService"></TextBox> | |
</StackPanel> | |
<StackPanel Orientation="Horizontal" Margin="1" HorizontalAlignment="Right"> | |
<Button Margin="0,0,10,0" >Оновити</Button> | |
<Button Margin="0,0,10,0" >Редагувати</Button> | |
<Button Margin="0,0,10,0" >Видалити</Button> | |
</StackPanel> | |
</StackPanel> | |
<DataGrid DockPanel.Dock="Top" Name="dataGridSVC" IsReadOnly="True"> | |
</DataGrid> | |
</DockPanel> | |
</TabItem> | |
<TabItem Header="Розпорядники"> | |
<DockPanel LastChildFill="True"> | |
<StackPanel DockPanel.Dock="Bottom" VerticalAlignment="Bottom"> | |
<Grid Margin="5"> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="80"></ColumnDefinition> | |
<ColumnDefinition></ColumnDefinition> | |
</Grid.ColumnDefinitions> | |
<Grid.RowDefinitions> | |
<RowDefinition></RowDefinition> | |
<RowDefinition></RowDefinition> | |
<RowDefinition></RowDefinition> | |
</Grid.RowDefinitions> | |
<TextBlock Padding="0,0,10,0" Grid.Row="0" Grid.Column="0">Філія:</TextBlock> | |
<ComboBox Width="300" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left"></ComboBox> | |
<TextBlock Padding="0,0,10,0" Grid.Row="1" Grid.Column="0">Сервіс:</TextBlock> | |
<ComboBox Width="300" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left"></ComboBox> | |
<TextBlock Padding="0,0,10,0" Grid.Row="2" Grid.Column="0">Розпорядник:</TextBlock> | |
<TextBox Width="300" Name="boxReviewer" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left"></TextBox> | |
</Grid> | |
<StackPanel Orientation="Horizontal" Margin="1" HorizontalAlignment="Right"> | |
<Button Margin="0,0,10,0" >Оновити</Button> | |
<Button Margin="0,0,10,0" >Редагувати</Button> | |
<Button Margin="0,0,10,0" >Видалити</Button> | |
</StackPanel> | |
</StackPanel> | |
<DataGrid DockPanel.Dock="Top" Name="dataGridRVW" IsReadOnly="True"> | |
</DataGrid> | |
</DockPanel> | |
</TabItem> | |
</TabControl> | |
</Window> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment