Overview.xaml
Upload User: whrhdz
Upload Date: 2008-03-23
Package Size: 839k
Code Size: 4k
Development Platform:

C#

  1. <!-- ===========================================
  2.       Overview.xaml (c) 2006 by Charles Petzold
  3.      =========================================== -->
  4. <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5.       Title="Program Overview">
  6.     <FlowDocumentReader ViewingMode="Scroll">
  7.         <FlowDocument>
  8.             <Paragraph TextAlignment="Center"
  9.                        FontSize="16pt">
  10.                 Program Overview
  11.             </Paragraph>
  12.             <Paragraph>
  13.                 Yellow Pad is a sample program from Charles Petzold's book
  14.                 <Hyperlink NavigateUri="http://www.charlespetzold.com/wpf">
  15.                     <Italic>
  16.                         Applications = Code + Markup: A Guide to the 
  17.                         Microsoft Windows Presentation Foundation
  18.                     </Italic>
  19.                 </Hyperlink>
  20.                 published by Microsoft Press in 2006.
  21.             </Paragraph>
  22.             <Paragraph>
  23.                 Yellow Pad displays a canvas resembling one page of a
  24.                 small yellow legal pad. Using the stylus or mouse, you
  25.                 can draw on the pad. What you draw is known as
  26.                 <Italic>ink</Italic>. Each line you draw is known as 
  27.                 a <Italic>stroke</Italic>.
  28.             </Paragraph>
  29.             <Paragraph>
  30.                 Although Yellow Pad is written
  31.                 for the Tablet PC, it has nearly the same functionality 
  32.                 on a non-Tablet PC when you use the mouse. Press the 
  33.                 left mouse button to begin a stroke, and lift the mouse 
  34.                 button to end the stroke.
  35.             </Paragraph>
  36.             <Paragraph>
  37.                 The 
  38.                 <Hyperlink NavigateUri="FileMenu.xaml">File Menu</Hyperlink>
  39.                 lets you save ink to a file and load ink from files.
  40.             </Paragraph>
  41.             <Paragraph>
  42.                 The
  43.                 <Hyperlink NavigateUri="EditMenu.xaml">Edit Menu</Hyperlink>
  44.                 lets you copy ink to the clipboard and paste ink from the 
  45.                 clipboard.
  46.             </Paragraph>
  47.             <Paragraph>
  48.                 The
  49.                 <Hyperlink NavigateUri="StylusModeMenu.xaml">
  50.                     Stylus-Mode Menu
  51.                 </Hyperlink>
  52.                 lets you select the functionality of the stylus or 
  53.                 mouse&#x2014;whether the stylus or mouse draws ink, 
  54.                 erases, or selects strokes.
  55.             </Paragraph>
  56.             <Paragraph>
  57.                 The
  58.                 <Hyperlink NavigateUri="EraserModeMenu.xaml">
  59.                     Eraser-Mode Menu
  60.                 </Hyperlink>
  61.                 is similar to the Stylus-Mode Menu but pertains to the
  62.                 opposite end of the stylus. This menu does not appear when
  63.                 you run the program on a non-Tablet PC.
  64.             </Paragraph>
  65.             <Paragraph>
  66.                 The 
  67.                 <Hyperlink NavigateUri="ToolsMenu.xaml">
  68.                     Tools Menu
  69.                 </Hyperlink>
  70.                 lets you select the color, dimensions, and shape 
  71.                 of the stylus, and the dimensions and shape of the eraser.
  72.             </Paragraph>
  73.             <Paragraph>
  74.                 The
  75.                 <Hyperlink NavigateUri="HelpMenu.xaml">
  76.                     Help Menu
  77.                 </Hyperlink>
  78.                 displays information about the program, including this
  79.                 window.
  80.             </Paragraph>
  81.         </FlowDocument>
  82.     </FlowDocumentReader>
  83. </Page>