Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="WpfAppCRUD.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:WpfAppCRUD"
- mc:Ignorable="d"
- Title="CRUD APP" Height="500" Width="800" FontFamily="Comic Sans MS" FontSize="20" WindowStartupLocation="Manual">
- <Grid ShowGridLines="True">
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition Width="150"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="70"/>
- <RowDefinition Height="30"/>
- </Grid.RowDefinitions>
- <StatusBar HorizontalAlignment="Left" Height="30" Grid.Row="3" VerticalAlignment="Top" Width="794" Grid.ColumnSpan="4">
- <StatusBarItem Content="SERVER NAME:"/>
- <StatusBarItem Content="DESKTOP-OHJUKI3"/>
- <StatusBarItem Content="DATABASE NAME:"/>
- <StatusBarItem Content="SabeBookDB"/>
- <StatusBarItem Content="STATUS:"/>
- <StatusBarItem Content="connect"/>
- </StatusBar>
- <Menu Height="30" Grid.Row="0" VerticalAlignment="Top" Grid.ColumnSpan="4">
- <MenuItem Header="File" FontSize="18">
- <MenuItem Header="Open Connection"></MenuItem>
- <MenuItem Header="Close Connection"></MenuItem>
- <Separator/>
- <MenuItem Header="Exit"></MenuItem>
- </MenuItem>
- </Menu>
- <Button Content="Delete" Margin="25,10,25,0" Grid.Row="2" VerticalAlignment="Top" Height="50" Grid.Column="3" Width="100"/>
- <Button Content="Edit" Margin="0,10,25,0" Grid.Row="2" VerticalAlignment="Top" Height="50" Width="100" HorizontalAlignment="Right" Grid.Column="2"/>
- <Button Content="Add" HorizontalAlignment="Right" Margin="0,10,25,0" Grid.Row="2" VerticalAlignment="Top" Width="100" Height="50" Grid.Column="1"/>
- <TabControl Margin="10,10,10,0" Grid.Row="1" Grid.ColumnSpan="4">
- <TabItem Header="Authors" Height="34" VerticalAlignment="Top">
- <Grid Background="#FFE5E5E5">
- <DataGrid Margin="0,0,0,0"/>
- </Grid>
- </TabItem>
- <TabItem Header="Books">
- <Grid Background="#FFE5E5E5">
- <DataGrid Margin="0,0,0,0"/>
- </Grid>
- </TabItem>
- </TabControl>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement