Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Xamls

By: a guest on Jun 22nd, 2011  |  syntax: XML  |  size: 2.96 KB  |  views: 50  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <Window x:Class="GameOfLife.MainWindow"
  2.        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.        Title="משחק החיים" FlowDirection="RightToLeft" MinWidth="579" MinHeight="350" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="350" Width="579">
  5.     <Window.Resources>
  6.         <ResourceDictionary>
  7.             <ResourceDictionary.MergedDictionaries>
  8.                 <ResourceDictionary Source="resources.xaml" />
  9.             </ResourceDictionary.MergedDictionaries>
  10.         </ResourceDictionary>
  11.     </Window.Resources>
  12.     <DockPanel LastChildFill="True">
  13.         <Menu DockPanel.Dock="Top" Height="33" BorderBrush="#37000000" BorderThickness="0,0,0,1">
  14.             <MenuItem ToolTip="העבר דור" Name="PassGeneration" Click="PassGeneration_Click" Style="{StaticResource ParentMenuItem}">
  15.                 <MenuItem.Icon>
  16.                     <Image Source="/GameOfLife;component/Images/Fast-Forward.png" />
  17.                 </MenuItem.Icon>
  18.             </MenuItem>
  19.             <MenuItem Name="Edit" ToolTip="עריכה" Style="{StaticResource ParentMenuItem}">
  20.                 <MenuItem.Icon>
  21.                     <Image Source="/GameOfLife;component/Images/format-cells.png" />
  22.                 </MenuItem.Icon>
  23.                 <MenuItem ToolTip="תשליל" Name="Invert" Click="Invert_Click" Style="{StaticResource ParentMenuItem}">
  24.                 </MenuItem>
  25.             </MenuItem>
  26.             <MenuItem ToolTip="שמור דפוס" Name="Save" Style="{StaticResource ParentMenuItem}">
  27.                 <MenuItem.Icon>
  28.                     <Image Source="/GameOfLife;component/Images/save.png" />
  29.                 </MenuItem.Icon>
  30.             </MenuItem>
  31.             <MenuItem ToolTip="טען דפוס" Name="Load" Style="{StaticResource ParentMenuItem}">
  32.                 <MenuItem.Icon>
  33.                     <Image Source="/GameOfLife;component/Images/folder_open-add2.png" />
  34.                 </MenuItem.Icon>
  35.             </MenuItem>
  36.             <MenuItem ToolTip="אפשרויות" Name="Options" Style="{StaticResource ParentMenuItem}">
  37.                 <MenuItem.Icon>
  38.                     <Image Source="/GameOfLife;component/Images/Tools.png" />
  39.                 </MenuItem.Icon>
  40.                 <MenuItem ToolTip="מראה" Header="מראה" Name="Apperance" MaxHeight="24">
  41.                 </MenuItem>
  42.                
  43.                 <MenuItem ToolTip="אודות" Header="אודות" Name="About" MaxHeight="24">
  44.                 </MenuItem>
  45.                
  46.             </MenuItem>
  47.         </Menu>
  48.         <ScrollViewer  Name="displayPlaceHolder" HorizontalScrollBarVisibility="Auto">
  49.             <Image Name="display" Stretch="None" MouseMove="display_MouseMove" MouseDown="display_MouseDown" Cursor="Cross" />
  50.         </ScrollViewer>
  51.     </DockPanel>
  52. </Window>
clone this paste RAW Paste Data