Advertisement
Guest User

Untitled

a guest
Nov 27th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.13 KB | None | 0 0
  1. <Window x:Class="YoungEnterprise_Admin_Application.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:YoungEnterprise_Admin_Application"
  7.        xmlns:controls="clr-namespace:YoungEnterprise_Admin_Application.Views"
  8.        mc:Ignorable="d"
  9.        Title="YoungEnterprise Administration Application" Height="600" Width="800">
  10.     <!-- Replaced the default grid with a dockpanel to allow for the menu to resize as intended -->
  11.     <!-- The grid containing the content is inside the dockpanel below the menu -->
  12.     <DockPanel>
  13.         <!-- The menu below can be changed later on! -->
  14.         <Menu DockPanel.Dock="Top" Background="#969696" FontFamily="Arial" FontSize="20">
  15.             <MenuItem Header="Brugere">
  16.                 <MenuItem x:Name="viewAllUsers" Header="Vis Alle Brugere" FontSize="12" Click="viewAllUsers_Click"/>
  17.                 <MenuItem x:Name="inviteUser" Header="Inviter Bruger" FontSize="12" Click="inviteUser_Click"/>
  18.  
  19.                 <!-- I was't certain whether or not this was nessecary, or how it should be done (as in auto-make judge pairs, or pair judges together) -->
  20.                 <MenuItem x:Name="createJudgePairs" Header="Lav Dommerpar" FontSize="12"/>
  21.             </MenuItem>
  22.  
  23.             <MenuItem Header="Resultater">
  24.                 <MenuItem x:Name="viewResults" Header="Vis Resultater" FontSize="12" Click="viewResults_Click"/>
  25.             </MenuItem>
  26.  
  27.             <MenuItem Header="Program">
  28.                 <MenuItem x:Name="createSchedule" Header="Lav Program" FontSize="12" Click="createSchedule_Click"/>
  29.             </MenuItem>
  30.  
  31.             <MenuItem Header="Status">
  32.                 <MenuItem x:Name="viewStatus" Header="Se Status" FontSize="12"/>
  33.             </MenuItem>
  34.         </Menu>
  35.  
  36.         <Grid x:Name="userControlGrid" DockPanel.Dock="Bottom">
  37.            
  38.         </Grid>
  39.     </DockPanel>
  40. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement