SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <Window x:Class="WpfAppCRUD.MainWindow"
  2.        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5.        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6.        xmlns:local="clr-namespace:WpfAppCRUD"
  7.        mc:Ignorable="d"
  8.        Title="CRUD APP" Height="500" Width="800" FontFamily="Comic Sans MS" FontSize="20" WindowStartupLocation="Manual">
  9.     <Grid ShowGridLines="True">
  10.         <Grid.ColumnDefinitions>
  11.             <ColumnDefinition/>
  12.             <ColumnDefinition Width="150"/>
  13.             <ColumnDefinition Width="150"/>
  14.             <ColumnDefinition Width="150"/>
  15.         </Grid.ColumnDefinitions>
  16.         <Grid.RowDefinitions>
  17.             <RowDefinition Height="30"/>
  18.             <RowDefinition Height="*"/>
  19.             <RowDefinition Height="70"/>
  20.             <RowDefinition Height="30"/>
  21.         </Grid.RowDefinitions>
  22.         <StatusBar HorizontalAlignment="Left" Height="30" Grid.Row="3" VerticalAlignment="Top" Width="794" Grid.ColumnSpan="4">
  23.             <StatusBarItem Content="SERVER NAME:"/>
  24.             <StatusBarItem Content="DESKTOP-OHJUKI3"/>
  25.             <StatusBarItem Content="DATABASE NAME:"/>
  26.             <StatusBarItem Content="SabeBookDB"/>
  27.             <StatusBarItem Content="STATUS:"/>
  28.             <StatusBarItem Content="connect"/>
  29.         </StatusBar>
  30.         <Menu Height="30" Grid.Row="0" VerticalAlignment="Top" Grid.ColumnSpan="4">
  31.             <MenuItem Header="File" FontSize="18">
  32.                 <MenuItem Header="Open Connection"></MenuItem>
  33.                 <MenuItem Header="Close Connection"></MenuItem>
  34.                 <Separator/>
  35.                 <MenuItem Header="Exit"></MenuItem>
  36.             </MenuItem>
  37.         </Menu>
  38.         <Button Content="Delete" Margin="25,10,25,0" Grid.Row="2" VerticalAlignment="Top" Height="50" Grid.Column="3" Width="100"/>
  39.         <Button Content="Edit" Margin="0,10,25,0" Grid.Row="2" VerticalAlignment="Top" Height="50" Width="100" HorizontalAlignment="Right" Grid.Column="2"/>
  40.         <Button Content="Add" HorizontalAlignment="Right" Margin="0,10,25,0" Grid.Row="2" VerticalAlignment="Top" Width="100" Height="50" Grid.Column="1"/>
  41.         <TabControl Margin="10,10,10,0" Grid.Row="1" Grid.ColumnSpan="4">
  42.             <TabItem Header="Authors" Height="34" VerticalAlignment="Top">
  43.                 <Grid Background="#FFE5E5E5">
  44.                     <DataGrid Margin="0,0,0,0"/>
  45.                 </Grid>
  46.             </TabItem>
  47.             <TabItem Header="Books">
  48.                 <Grid Background="#FFE5E5E5">
  49.                     <DataGrid Margin="0,0,0,0"/>
  50.                 </Grid>
  51.             </TabItem>
  52.         </TabControl>
  53.     </Grid>
  54. </Window>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top