<?xml version='1.0' encoding='US-ASCII'?>
<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.0b1//EN"
	"http://docbook.sourceforge.net/release/slides/3.0b1/slides.dtd">
<slides>
	<slidesinfo>
		<title>Creating a User Interface (Chapter 2)</title>
		<abstract>
			<para>CIS 125, Visual Basic .NET I, Spring 2006</para>
		</abstract>
	</slidesinfo>
	<foil>
		<title>Planning an Application</title>
		<orderedlist numeration="arabic">
			<listitem>
				<para>Identify the tasks the application needs to perform.</para>
			</listitem>
			<listitem>
				<para>Identify the objects needed to perform those tasks.</para>
			</listitem>
			<listitem>
				<para>Identify the events required to trigger an object into performing
					its assigned tasks</para>
			</listitem>
			<listitem>
				<para>Design the user interface</para>
			</listitem>
		</orderedlist>
	</foil>
	<foilgroup>
		<title>TOE Chart</title>
		<foil>
			<title>What is a TOE Chart?</title>
			<para>Write out all
				<emphasis>Tasks</emphasis></para>
			<para>Determine what
				<emphasis>Objects</emphasis> &amp;
				<emphasis>Events</emphasis> are needed</para>
		</foil>
		
		<foil>
			<title>Identifying the Objects</title>
			<para>TextBox, Button, Label, ...</para>
			<para>
				<ulink
					url="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbceide/htm/ideintro_15.asp">
					Object Naming Conventions
					(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbceide/htm/ideintro_15.asp)</ulink>
			</para>
		</foil>
		
		<foil>
			<title>Identifying the Events</title>
			<para>Click</para>
		</foil>
	</foilgroup>
	
	<foilgroup>
		<title>Designing the User Interface</title>
		<foil>
			<title>User Interface</title>
			<variablelist>
				<varlistentry>
					<term>Primary Window</term>
					<listitem>
						<para>Where primary editing and Viewing takes place</para>
					</listitem>
				</varlistentry>
				<varlistentry>
					<term>Dialog Box</term>
					<listitem>
						<para>Supplemental Information</para>
					</listitem>
				</varlistentry>
			</variablelist>
		</foil>
		<foil>
			<title>Aranging Controls</title>
			<para>See Figure 2.10, 2.11</para>
			<itemizedlist>
				<listitem>
					<para>White Space</para>
				</listitem>
				<listitem>
					<para>Group Box Control</para>
				</listitem>
				<listitem>
					<para>Panel Control</para>
				</listitem>
				<listitem>
					<para>Text box's identifying label should end with a colon (:)</para>
				</listitem>
				<listitem>
					<para>Labels should use
						<emphasis>Sentence Capitalization</emphasis></para>
				</listitem>
				<listitem>
					<para>
						<emphasis>Book Title Capitalization</emphasis> capitalizes
						first letter of each word, except for articles, conjunctions, and
						prepositions that do not occur at either the beginning or the end of
						the caption.</para>
				</listitem>
				
				<listitem>
					<para>Size buttons relative to each other. Use same height and widths
						if possible</para>
				</listitem>
			</itemizedlist>
		</foil>
		<foil>
			<title>Fonts</title>
			<itemizedlist>
				<listitem>
					<para>Measured in
						<emphasis>points</emphasis>. One point is 1/72 of an
						inch</para>
				</listitem>
				<listitem>
					<para>
						<emphasis>Serif</emphasis>is a light cross stroke that appears
						at the top or bottom of a character.</para>
					<para>
						<emphasis>Sans Serif</emphasis> meaning "without". Easier to
						read on Screen. Tahoma is a recommended font</para>
				</listitem>
				
			</itemizedlist>
		</foil>
		<foil>
			<title>Color</title>
			<orderedlist numeration="arabic">
				<listitem>
					<para>Some users may use monochrome monitors.</para>
				</listitem>
				<listitem>
					<para>Many people have some form of either color-blindness or color
						confusion, so they will hjave trouble distinguishing
						colors.</para>
				</listitem>
				<listitem>
					<para>Color is very subjective; a pretty color to you may be hideous to
						someone else.</para>
				</listitem>
				<listitem>
					<para>A color may have a different meaning in a different
						culture.</para>
				</listitem>
			</orderedlist>
			<itemizedlist>
				<listitem>
					<para>Best to use black text on white, off-white, or light gray
						background.</para>
				</listitem>
				<listitem>
					<para>Limit the number of colors. (3 not including white, black,
						gray)</para>
				</listitem>
				<listitem>
					<para>Never use color as only means of identification.</para>
				</listitem>
				
			</itemizedlist>
		</foil>
		<foil>
			<title>Assign access keys</title>
			<orderedlist numeration="arabic">
				<listitem>
					<para>Allow a user to work without a mouse.</para>
				</listitem>
				<listitem>
					<para>Allows Faster typing by keeping hands on keyboard.</para>
				</listitem>
				<listitem>
					<para>Assists people with disabilities.</para>
				</listitem>
			</orderedlist>
			<para>Include an ampersand (&amp;) in the caption of the label</para>
			<para>Tab index of label is one less than control.</para>
			<para>&amp;Name: would make
				<emphasis>N</emphasis> the access key.</para>
		</foil>

				<foil>
			<title>Tab Index</title>
			<itemizedlist>
				<listitem>
					<para>Allow you to scroll through form by pressing the tab key</para>
				</listitem>
								<listitem>
					<para>Start at index zero</para>
				</listitem>
				<listitem>
					<para>By default tabindex increases by one with each added item.</para>
				</listitem>
			</itemizedlist>
			<para>Tab index of label is one less than control.</para>
		</foil>
		
		<foil>
			<title>Default and Cancel Button</title>
			<para>AcceptButton - set under in the Form Misc.  Event on button fired when Enter key is pressed</para>
			<para>CancelButton - set under in the Form Misc.  Event on button fired when Esc key is pressed</para>
		</foil>

			</foilgroup>
</slides>