<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>CanOz Blog</title><link>http://blogs.vbcity.com/canoz/</link><description>Neil Knobbe's Blog at vbCity</description><managingEditor>V. Neil Knobbe</managingEditor><dc:language>en-AU</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>V. Neil Knobbe</dc:creator><title>ClickOnce deployment videos</title><link>http://blogs.vbcity.com/canoz/archive/2008/05/09/9066.aspx</link><pubDate>Fri, 09 May 2008 20:59:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/05/09/9066.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9066.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/05/09/9066.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9066.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9066.aspx</trackback:ping><description>&lt;P&gt;I have finished making videos showing how to deploy and update Applications using ClickOnce.&amp;nbsp; All the videos have been zipped so that you can download them and watch at your leisure.&lt;/P&gt;
&lt;P&gt;I orignally thought it was going to be in two parts, but decided in the long run to make it three parts to keep the length ove the video and size of the files down.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.neilknobbe.com/videos/ClickOnce.zip"&gt;Part 1&lt;/A&gt; goes through the settings.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.neilknobbe.com/videos/ClickOnce1.zip"&gt;Part 2&lt;/A&gt; shows the publishing process as well as downloading and installing.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.neilknobbe.com/videos/ClickOnce2.zip"&gt;Part 3&lt;/A&gt; shows how ClickOnce handles updates to the Application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9066.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Deploying applications with ClickOnce</title><link>http://blogs.vbcity.com/canoz/archive/2008/05/03/9056.aspx</link><pubDate>Sat, 03 May 2008 19:49:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/05/03/9056.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9056.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/05/03/9056.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9056.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9056.aspx</trackback:ping><description>&lt;P&gt;&lt;STRONG&gt;ClickOnce Deployment&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;A recent post on &lt;A href="http://www.vbcity.com/"&gt;vbCity &lt;/A&gt;regarding deploying an application with ClickOnce got me wondering about doing deployment with ClickOnce.&lt;/P&gt;
&lt;P&gt;I have always done deployment of applications by creating and using a Setup and Deployment package which created a .msi installer file, so it was interesting to see some of the differences between the two distribution methods.&lt;/P&gt;
&lt;P&gt;First off I created a simple application to test the ClickOnce distribution and installation method with.&amp;nbsp; What I created was nothing special, just a windows form with at button that, when it&amp;nbsp;is&amp;nbsp;clicked, a message box is shown.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;As you can see the application is nothing special.&amp;nbsp; One other thing that I did was add a version number to the text of the form.&amp;nbsp; I did this to show how ClickOnce deployment installs newer versions as they are available.&amp;nbsp; I will get to this a little later.&lt;/P&gt;
&lt;P&gt;Once your application is ready to go you want to open up the &lt;STRONG&gt;My Project&lt;/STRONG&gt; page from the solution explorer.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/03ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;On the My Project&amp;nbsp; page click the Publish tab.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/04ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;From this page, you define where your application is going to be available from and how it is going to be installed on the client machine. &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/05ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Taking a look at the publish page from the top down the first thing you will want to enter will be the location (URL) that you are going to publish to.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/06ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;As you can see from the image above, you have three options for the location that you are going to publish to.&amp;nbsp; You can publish to a web site (&lt;A href="http://www.somesite.com/"&gt;http://www.somesite.com&lt;/A&gt;) but to do this you must have FrontPage extensions enabled on the web site.&amp;nbsp; You can publish to a ftp server (&lt;A href="ftp://www.somesite.com/"&gt;ftp://www.somesite.com&lt;/A&gt;) as long as you have ftp permissions for the site, or you can publish to a local file (C:\myApplication). (For distribution this last option is not really that realistic unless you are on an internal network where you can share out the directory to others on the network.)&lt;/P&gt;
&lt;P&gt;The next option you have is to determine if you application is available offline or not. &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/07ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;If you don&amp;#8217;t want the users to be able to access your application offline then select the online option.&amp;nbsp; This will cause your application to run, but not show in the start menu of the user&amp;#8217;s computer.&amp;nbsp; They would need to download the application each time they wanted to use your application.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;If you make the application available offline then a shortcut is included in the start menu of the computer making the application accessible all the time.&lt;/P&gt;
&lt;P&gt;To the right of the Install settings there is a group of four buttons.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/08ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;These buttons define what files are to be included with your application, any prerequisites that the end user must have installed on their computer to run your application, how and when to get updates as well as options such as adding the publishers name, product name etc.&lt;/P&gt;
&lt;P&gt;Under the install mode and the buttons there is the version boxes plus the option to automatically increment the revision with each publish.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/09ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Keeping the increment box checked is, I believe, quite important.&amp;nbsp; If you don&amp;#8217;t remember to increment the version number when you republish the application then the next time the application checks for updates it looks at the version number and if that number has not changed, even though your application may have, it assumes that there is nothing newer and opens the currently installed version.&lt;/P&gt;
&lt;P&gt;The last two items on the window are the Publish Wizard and Publish Now buttons.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/10ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;The Publish Wizard button will open a series of dialogues and walk you through the settings that you want your installer to use.&lt;/P&gt;
&lt;P&gt;The Publish Now button will use the information that you have entered on the page and create the installer files then, if you are deploying the files to either a web site or ftp site, prompt you for log on details.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/13ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Simply insert your username and password then click the OK button and the files required will be uploaded to the URL you specified.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/14ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;You can see in the image above that ClickOnce has created two files and one directory on the web server.&amp;nbsp; Within the Application Files directory you would find one directory containing each version that has been published and uploaded.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/17ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;I just happen to have two versions in the application files directory and the one that will get distributed will always be the latest version.&amp;nbsp;(I mentioned earlier that I had put a version number&amp;nbsp;on the text of the&amp;nbsp;form and the version number you should see is 2&amp;nbsp;not 1 like the image&amp;nbsp;of the form above.)&amp;nbsp;It would not matter how many older versions I have on my server.&lt;/P&gt;
&lt;P&gt;Now you may distribute the address of your application to your clients.&amp;nbsp; The file that you want to point to is the Application Manifest file, not the setup file.&amp;nbsp; From the image above I would point people to the URL &lt;A href="http://www.neilknobbe.com/clickonce/ClickOnce.application" target=_blank&gt;http://www.neilknobbe.com/clickonce/ClickOnce.application&lt;/A&gt;.&amp;nbsp; (The link is live and you can navigate to it, download and install the application that I mentioned at the start of this post.&amp;nbsp; It is not very exciting, but it shows how ClickOnce works.)&lt;/P&gt;
&lt;P&gt;The prerequisites for installation, which you would have set earlier, are checked.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/25ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;If all is ok, the user will be prompted to install the application.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/24ClickOnce.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Once installed your ClickOnce deployed application is ready to use.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9056.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Text and Image for Button with Visual Studio 2005</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/24/9051.aspx</link><pubDate>Thu, 24 Apr 2008 19:17:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/24/9051.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9051.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/24/9051.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9051.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9051.aspx</trackback:ping><description>&lt;P&gt;Ok, let&amp;#8217;s call this page 22,492 in the book of things I did not know about Visual Studio 2005.&lt;/P&gt;
&lt;P&gt;I was reading something the other day, if I can remember or find it I will post up a link, and was surprised that I had missed this little bit before.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;(I have recently been reading &amp;#8220;WPF for those who know Windows Forms&amp;#8221; that can be found &lt;A href="http://blogs.msdn.com/jfoscoding/articles/765135.aspx"&gt;here&lt;/A&gt;&amp;nbsp; and watching webcasts by William Steele&amp;nbsp;on his&amp;nbsp;&lt;A href="http://www.msdnwebcastportal.com/DesktopDefault.aspx?tabindex=3&amp;amp;tabid=25"&gt;WPF Soup To Nuts&lt;U&gt;&lt;FONT color=#800080&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&amp;nbsp;series so it could have could have come from one of those.)&lt;/P&gt;
&lt;P&gt;What was mentioned was having both text and an image on a button.&amp;nbsp; I knew it was possible, but I didn&amp;#8217;t know just how easy it was to do.&lt;/P&gt;
&lt;P&gt;By default when you add an image to the button the text of the button is overlays the image.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;There is a property of a button which helps us set the relation of the text to the image.&amp;nbsp; This name of this property is TextImageRelation.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;The TextImageRelation property has five options:&lt;/P&gt;
&lt;P&gt;
&lt;UL&gt;
&lt;LI&gt;Overlay 
&lt;LI&gt;Image over text 
&lt;LI&gt;Text over image 
&lt;LI&gt;Image before text 
&lt;LI&gt;Text before image&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/03btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;The options are pretty much self explanatory.&amp;nbsp; Below are screen shots showing the different positions.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Image over text:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/04btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Text over image:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/05btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Image before text:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/06btnimage2005.jpg"&gt;&lt;/P&gt;
&lt;P&gt;and lastly&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Text before image:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/07btnimage2005.jpg"&gt;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9051.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Video for WPF expander</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/22/9047.aspx</link><pubDate>Tue, 22 Apr 2008 23:15:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/22/9047.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9047.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/22/9047.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9047.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9047.aspx</trackback:ping><description>&lt;P&gt;The companion video&amp;nbsp;to &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/14/9035.aspx"&gt;my post&lt;/A&gt; on the expander control in WPF is now available for download.&lt;/P&gt;
&lt;P&gt;The video can be found &lt;A href="http://www.neilknobbe.com/videos/wpfexpander.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9047.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>WPF Expander control revisited</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/18/9045.aspx</link><pubDate>Fri, 18 Apr 2008 02:09:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/18/9045.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9045.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/18/9045.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9045.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9045.aspx</trackback:ping><description>&lt;P&gt;I was taking another look at the WPF expander control that I talked about &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/14/9035.aspx"&gt;here&lt;/A&gt; and discovered that you don't actually need to use any code to get rid of the background colour of the control when collapsed.&lt;/P&gt;
&lt;P&gt;What I discovered is that if you set the VerticalAlignment of the expander control.&amp;nbsp; You can set this property to Bottom, Center, Stretch and Top.&amp;nbsp; All but Stretch will hide the background colour of the control when the control is collapsed.&lt;/P&gt;
&lt;P&gt;Here is the revised XAML markup for the control:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/09expander.jpg"&gt;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9045.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Video for tab control with WPF</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/17/9042.aspx</link><pubDate>Thu, 17 Apr 2008 14:59:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/17/9042.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9042.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/17/9042.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9042.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9042.aspx</trackback:ping><description>&lt;P&gt;A couple of days later than I had planned, but I finished the video that is the companion of &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/12/9029.aspx"&gt;this post&lt;/A&gt;&amp;nbsp;about custom content in the tabs of a tab control in WPF.&lt;/P&gt;
&lt;P&gt;You can download the video &lt;A href="http://www.neilknobbe.com/videos/tabcustomcontent.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9042.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Drag and drop code to and from toolbox (part II)</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/14/9036.aspx</link><pubDate>Mon, 14 Apr 2008 02:24:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/14/9036.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9036.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/14/9036.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9036.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9036.aspx</trackback:ping><description>&lt;P&gt;After &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/13/9033.aspx"&gt;posting up about this feature&amp;nbsp;&lt;/A&gt;&amp;nbsp; of Visual Studio I got to messing around with it a bit. (&lt;A href="http://blogs.msdn.com/saraford/archive/2008/04/10/did-you-know-you-can-drag-and-drop-code-onto-the-toolbox-general-tab-191.aspx"&gt;Sara Ford's post&lt;/A&gt; got me excited about this topic)&lt;/P&gt;
&lt;P&gt;I got to thinking that although it was a great idea to be about to store code snippets in the toolbox, I did get to thinking that it could get confusing having all sorts of code for different things in one tab and be able to separate the code in organized groups would be handy.&amp;nbsp; Well guess what.&amp;nbsp; It can be done.&lt;/P&gt;
&lt;P&gt;If you right click on the General tab of the toolbox you can select to add a tab.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01toolboxtab.jpg"&gt;&lt;/P&gt;
&lt;P&gt;A new tab is created and all you need to do is type in the name that you want your tab to have.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02toolboxtab.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Now you can organize your code, and control, snippets so they are easy to find.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/03toolboxtab.jpg"&gt;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9036.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>WPF Expander Control</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/14/9035.aspx</link><pubDate>Mon, 14 Apr 2008 02:08:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/14/9035.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9035.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/14/9035.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9035.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9035.aspx</trackback:ping><description>&lt;P&gt;There are a lot of neat options now available to us programmers thanks to WPF.&lt;/P&gt;
&lt;P&gt;One of these is the expander.&amp;nbsp; The expander is a control pretty much like a groupbox which can hold various controls.&amp;nbsp; The main difference between a groupbox and an expander is the controls in a groupbox are always visible where the expander gives the developer, and by extension the user, the ability to hide any controls and conserve valuable space on a windows form.&lt;/P&gt;
&lt;P&gt;As you can see in the image below, the groupbox and expander both contain two radio buttons.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;The advantage of the expander, as I see it,&amp;nbsp;is when I click the little arrow next to the caption of the expander.&amp;nbsp; Once clicked the expander collapses to the height of its header hiding the controls, in this example the radio buttons, from view.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;I will admit that I had to do a little tinkering with the expander to get it looking and working like I wanted it.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I dragged and expander from the toolbox onto my window, sized it and set the background colour, then added a stack panel, and within the stack panel, the two radio buttons. &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/03expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This, unfortunately, was not quite what I wanted because the whole background of the expander was light blue and I only wanted the header to be blue with a small border around the controls.&lt;/P&gt;
&lt;P&gt;To solve this I had to put a border on the expander before putting the stack panel and the radio buttons.&amp;nbsp; Setting the background colour of the border to white and adding a margin and padding for the border completed the look I was attempting.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/04expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Well it had the look as long as the expander was expanded.&amp;nbsp; Once I clicked the button to collapse the expander I was left with a blue square.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/05expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;No radio buttons but not perfect either.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;To get the desired effect of a growing and shrinking panel I used the Expanded and Collapsed methods of the expander to set the height when expanded and collapsed.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/06expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Now I have the effect I was after.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/07expander.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Here is the XAML for the expander with the frame, stack panel and two radio buttons.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/08expander.jpg"&gt;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9035.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Drag and drop code to and from ToolBox</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/13/9033.aspx</link><pubDate>Sun, 13 Apr 2008 02:12:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/13/9033.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9033.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/13/9033.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9033.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9033.aspx</trackback:ping><description>&lt;P&gt;Sara Ford &lt;A href=http://blogs.msdn.com/saraford/archive/2008/04/10/did-you-know-you-can-drag-and-drop-code-onto-the-toolbox-general-tab-191.aspx target="_blank"&gt;blogged about this &lt;/A&gt;a couple of days ago and I thought it was a really cool feature of Visual Studio.&lt;/P&gt;
&lt;P&gt;She pointed out, what could be, a little known feature of Visual Studio.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;You can highlight and then drag code snippets into the General tab of the toolbox.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01dragdropcode.jpg"&gt;&lt;/P&gt;
&lt;P&gt;You will then fine the code as an item in the toolbox.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02dragdropcode.jpg"&gt;&lt;/P&gt;
&lt;P&gt;If you want to see exactly what the code is all you need to do is hover your mouse over the item and the code will be displayed.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/03dragdropcode.jpg"&gt;&lt;/P&gt;
&lt;P&gt;I think that this is one of the cooler features of Visual Studio and a great and easy way to keep code snippets.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9033.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>TabControl with WPF</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/12/9029.aspx</link><pubDate>Sat, 12 Apr 2008 16:10:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/12/9029.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9029.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/12/9029.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9029.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9029.aspx</trackback:ping><description>&lt;P&gt;After having looked at how to change the &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/05/9014.aspx"&gt;background colour of the tab header&lt;/A&gt; I got to wondering what else can be done to the tabs using WPF.In a very short time my question changed from &amp;#8220;What can be done?&amp;#8221; to &amp;#8220;What can&amp;#8217;t be done?&amp;#8221;&lt;/P&gt;
&lt;P&gt;As was shown &lt;A href="http://blogs.vbcity.com/xtab/archive/2008/01/14/8945.aspx"&gt;here&lt;/A&gt; by MVP Ged Mead you can easily set the background colour of the tabs on a tab control, and a solution to the setting the background of the header &lt;A href="http://blogs.vbcity.com/canoz/archive/2008/04/05/9014.aspx"&gt;here&lt;/A&gt;. Those posts got me wondering just what else could be done with the tabs on a tab control.&lt;/P&gt;
&lt;P&gt;With very little time and effort I ended up with a tab control that looked like the following.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01wintab.jpg"&gt;&lt;/P&gt;
&lt;P&gt;As you can see the captions on the tabs are quite varied and although you can&amp;#8217;t tell from the image the last tab is very different.&amp;nbsp; The first tab has text with mixed styles, the second tab has a rectangle included with the text and it looks like I have images on the last two tabs, but in fact the last tab has a video playing on it.&amp;nbsp; Yes, I did say video.&amp;nbsp; Complete with sound.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/02wintab.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Believe it or not his whole tab control was created with just 33 lines of XAML markup.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/01xamltab.jpg"&gt;&lt;/P&gt;
&lt;P&gt;So leveraging the power of WPF we can easily create much more visually stimulating tab controls than you could with previous versions of Visual Studio.&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;I&amp;#8217;ll create a companion video for this and post it up in a couple of days which will also show the video on the fourth tab playing.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9029.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>TabControl background colour video</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/06/9019.aspx</link><pubDate>Sun, 06 Apr 2008 20:04:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/06/9019.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9019.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/06/9019.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9019.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9019.aspx</trackback:ping><description>&lt;P&gt;This is a follow up on the post about changing the colour of the TabPanel part of the tab control.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I created a video showing how I went about changing the template of the tab control using Expression Blend.&lt;/P&gt;
&lt;P&gt;You can download the video to watch from &lt;A href="http://www.neilknobbe.com/videos/tabcontrolbgcolor.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9019.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Setting the TabPanel background colour</title><link>http://blogs.vbcity.com/canoz/archive/2008/04/05/9014.aspx</link><pubDate>Sat, 05 Apr 2008 18:48:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/04/05/9014.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9014.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/04/05/9014.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9014.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9014.aspx</trackback:ping><description>&lt;P&gt;A question came up in the &lt;A href="http://www.vbcity.com/"&gt;vbCity Forums&lt;/A&gt; that I participate in about changing the background colour of the header portion of the TabControl.&amp;nbsp; The original question was about changing the colour of the tabs themselves (&lt;A href="http://www.vbcity.com/forums/topic.asp?tid=153871"&gt;original question&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;vbCity Leader (and Microsoft MVP) &lt;A href="http://blogs.vbcity.com/xtab/"&gt;Ged Mead&lt;/A&gt;&amp;nbsp;posted up &lt;A href="http://www.vbcity.com/forums/goto.asp?show=reply&amp;amp;rid=504942"&gt;code to change the colour&lt;/A&gt; of the&amp;nbsp;tabs, but once the tab control's DrawMode property was set to &amp;#8220;OwnerDrawFixed&amp;#8221; the portion of the tab control without button changed to the default colour of &amp;#8220;Button&amp;#8221; which made it no longer the same as the background colour of the form.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/images/tabcolor3.jpg"&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recalled that Ged had posted up &lt;A href="http://blogs.vbcity.com/xtab/archive/2008/01/14/8945.aspx"&gt;a WPF solution for the background colour of a tab&lt;/A&gt; previously and figured that with WPF it may well be possible to change the colour for the rest of the tab header also.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;So I forged ahead with my attempt to find a solution.&amp;nbsp; Not being in any way shape or form a pro with WPF, I decided to try modifying the tab control with &lt;A href="http://www.microsoft.com/expression/products/overview.aspx?key=blend"&gt;Expression Blend&lt;/A&gt; instead of Visual Studio.&amp;nbsp; After a little messing around I did find that you can set the background colour of a tab control header to whatever colour you want and still have the tabs themselves with different colours.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;I started out by taking the XAML that Ged &lt;A href="http://blogs.vbcity.com/xtab/archive/2008/01/14/8945.aspx"&gt;posted &lt;/A&gt;and pasted that into my Expression Blend project as a starting point so it looked like the following.&amp;nbsp; ( I did have to remove the image from the 3rd tab as I didn't have that particular image on my&amp;nbsp;computer.)&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/images/gedtabcolor.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Then I went in and began to look at editing the template of the tab control itself.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;With very little fuss, I was able to set the background property of the TabPanel (this is the part of the tab control which holds the tab buttons) and I ended up with a coloured header background.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/images/tabcolor1.jpg"&gt;&lt;/P&gt;
&lt;P&gt;To accomplish this change you can either edit the XAML of the tab control, if you know what you are doing with XAML, and add in markup for the tab panel of the tab control and include a color for the background attribute.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/images/tabcolor2.jpg"&gt;&lt;/P&gt;
&lt;P&gt;or you can, as I did, right click on the tab conrol and from the popup menu &amp;#8220;edit control parts (template)&amp;#8221;.&amp;nbsp; Moving your mouse over &amp;#8220;edit control parts (template)&amp;#8221; causes a submenu to become visible and you then select &amp;#8220;edit a copy&amp;#8221;.&amp;nbsp; The Create Style Resource window opens and you are faced with a few choices.&amp;nbsp; I decided to keep the default choices (resource name and define in this document) just for ease.&amp;nbsp; Click the &amp;#8220;OK&amp;#8221; button and you are ready to start making changes to the template.&lt;/P&gt;
&lt;P&gt;Since all I wanted to do was change the background of the tab panel, I selected it by clicking on the part of the tab panel that didn't have any buttons and in the properties pane I set the background to the colour that I wanted.&amp;nbsp; That is how easy it was to get the effect that was required.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Once I had made all the changes required, I simply&amp;nbsp;copied the XAML of the tab control from Expression and pasted it into&amp;nbsp;a Visual Studio project and was ready to continue.&lt;/P&gt;
&lt;P&gt;Below is the complete&amp;nbsp;XAML for the&amp;nbsp;tab&amp;nbsp;control as shown above.&lt;/P&gt;
&lt;P&gt;&lt;!-- CodeBlock by R.Verpalen 2005 : http://blogs.vbcity.com/hotdog/archive/2005/12/30/5759.aspx--&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV style="OVERFLOW: auto; BACKGROUND-COLOR: #dcdcdc"&gt;&lt;FONT color=#0000ff&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Window&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;xmlns&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;&lt;BR&gt;xmlns&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="http://schemas.microsoft.com/winfx/2006/xaml"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;&lt;BR&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Class&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Window1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;&lt;BR&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Window"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;&lt;BR&gt;Title&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Window1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;&lt;BR&gt;Width&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="640"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Height&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="480"&amp;gt;&lt;/DIV&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Window.Resources&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;SolidColorBrush&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Key&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabControlNormalBorderBrush"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Color&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="#8C8E94"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Style&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Key&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabControlStyle1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetType&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Type&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TabControl&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Foreground"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;DynamicResource&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; {&lt;/FONT&gt;&lt;FONT color=#a31515&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Static&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; SystemColors&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;.&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;ControlTextBrushKey&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}}"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Padding"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="4,4,4,4"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="BorderThickness"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="BorderBrush"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;StaticResource&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TabControlNormalBorderBrush&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Background"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="#F9F9F9"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HorizontalContentAlignment"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Center"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="VerticalContentAlignment"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Center"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Template"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter.Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ControlTemplate&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetType&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Type&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TabControl&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; ClipToBounds&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="true"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; SnapsToDevicePixels&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="true"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; KeyboardNavigation.TabNavigation&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Local"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Grid.ColumnDefinitions&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ColumnDefinition&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ColumnDefinition&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Width&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Grid.ColumnDefinitions&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Grid.RowDefinitions&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;RowDefinition&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Height&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Auto"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;RowDefinition&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Height&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Grid.RowDefinitions&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabPanel&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Margin&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="2,2,0,0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Grid.Column&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Grid.Row&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="#FF0968BA"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; IsItemsHost&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="true"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Panel.ZIndex&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; KeyboardNavigation.TabIndex&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Border&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Grid.Column&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Grid.Row&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TemplateBinding&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; BorderBrush&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TemplateBinding&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; BorderBrush&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; BorderThickness&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TemplateBinding&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; BorderThickness&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; KeyboardNavigation.DirectionalNavigation&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Contained"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; KeyboardNavigation.TabIndex&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="2"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; KeyboardNavigation.TabNavigation&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Local"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ContentPresenter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; SnapsToDevicePixels&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TemplateBinding&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; SnapsToDevicePixels&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Margin&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TemplateBinding&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Padding&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="PART_SelectedContentHost"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; ContentSource&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="SelectedContent"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Border&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ControlTemplate.Triggers&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabStripPlacement"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Bottom"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Auto"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Margin"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="2,0,2,2"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabStripPlacement"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Left"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Column"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Column"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Width"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Auto"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Width"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Margin"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="2,2,0,2"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabStripPlacement"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Right"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Row"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Column"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="1"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Grid.Column"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ContentPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Width"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Width"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="ColumnDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Auto"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition0"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="*"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Height"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="RowDefinition1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Margin"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TargetName&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="HeaderPanel"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="0,2,2,2"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="IsEnabled"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="false"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Property&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Foreground"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;DynamicResource&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; {&lt;/FONT&gt;&lt;FONT color=#a31515&gt;x&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;:&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Static&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; SystemColors&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;.&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;GrayTextBrushKey&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}}"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Trigger&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ControlTemplate.Triggers&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ControlTemplate&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Setter.Value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Setter&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Style&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Window.Resources&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabControl&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Margin&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="8"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Name&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="TabControl1"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Style&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="{&lt;/FONT&gt;&lt;FONT color=#a31515&gt;DynamicResource&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; TabControlStyle1&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;}"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt; &lt;FONT color=#ff0000&gt;Header&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Members"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="LightGreen"&lt;/FONT&gt;&lt;/DIV&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#ff0000&gt; Foreground&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Navy"&amp;gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 60pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBox&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Width&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="150"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="LightGreen"&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#ff0000&gt; HorizontalAlignment&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Left"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;J Smith&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;J Jones&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;C B Travis&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;L Fourleather&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBox&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN-LEFT: 40pt"&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 40pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Green"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Header&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Associates"&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#ff0000&gt; Foreground&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Navy" &amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 40pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Background&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="LightBlue"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TabItem.Header&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;StackPanel&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Orientation&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Horizontal" &amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Image&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Width&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="20" /&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;TextBlock&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Text&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="&amp;nbsp;&amp;nbsp;&amp;nbsp;Sponsors"&lt;/FONT&gt;&lt;FONT color=#ff0000&gt; Foreground&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;="Red"/&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;StackPanel&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;TabItem.Header&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 60pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBox&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; 
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;J Smith&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;J Jones&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;C B Travis&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;BR&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;L Fourleather&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBoxItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;ListBox&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Grid&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;/DIV&gt;
&lt;DIV style="MARGIN-LEFT: 40pt"&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;TabItem&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT color=#a31515&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;
&lt;DIV style="MARGIN-LEFT: 20pt"&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;TabControl&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/DIV&gt;&lt;/&lt; FONT&gt;&lt;FONT color=#a31515&gt;Window&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Lucida Casual"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Comic Sans MS"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;!-- 
End of code block----&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9014.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Property Search</title><link>http://blogs.vbcity.com/canoz/archive/2008/03/15/9000.aspx</link><pubDate>Sat, 15 Mar 2008 18:29:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2008/03/15/9000.aspx</guid><wfw:comment>http://blogs.vbcity.com/canoz/comments/9000.aspx</wfw:comment><comments>http://blogs.vbcity.com/canoz/archive/2008/03/15/9000.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blogs.vbcity.com/canoz/comments/commentRss/9000.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/canoz/services/trackbacks/9000.aspx</trackback:ping><description>&lt;P&gt;I was taking a look at working with a WPF application the other day when I found, what I thought, was a really neat feature of Visual Studio 2008.&lt;BR&gt;&lt;BR&gt;What I came across was the &amp;#8220;Search&amp;#8221; feature that is built into the Properties window of my WPF application.&amp;nbsp; It was quite by accident that I found the search ability because I could not find the property of a control that I was trying to change.&amp;nbsp; I knew the property existed, but for the life of me I could not find it.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;If your display is like mine, when I look at the property window in Visual Studio, there are more properties than can be shown on the screen so the scroll out of sight.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/wpf_properties1.jpg"&gt;&lt;/IMG&gt;&lt;/P&gt;
&lt;P&gt;Getting to a property, or finding the property as was my case, is much easier if you make use of the property windows search feature.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/wpf_properties3.jpg"&gt;&lt;/IMG&gt;&lt;/P&gt;
&lt;P&gt;As you type in the search box, Visual Studio filters the properties of the Control to show only the properties that contain the letter(s) that you enter into the search box.&lt;/P&gt;
&lt;P&gt;So if, for example, you want to quickly find the width property. When you type &amp;#8220;w&amp;#8221; into the search box, the list of properties is narrowed down.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/wpf_properties5.jpg"&gt;&lt;/IMG&gt;&lt;/P&gt;
&lt;P&gt;Add an &amp;#8220;i&amp;#8221; into the search box and the list is filtered even more,&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.neilknobbe.com/blogimages/wpf_properties6.jpg"&gt;&lt;/IMG&gt;&lt;/P&gt;
&lt;P&gt;and so on if you want to keep going and type in the whole name of the property.&lt;/P&gt;
&lt;P&gt;While this may not always be the quickest way to find a property, I thought it was a nifty addition to Visual Studio 2008.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/9000.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Writing Files</title><link>http://blogs.vbcity.com/canoz/archive/2005/11/28/5714.aspx</link><pubDate>Mon, 28 Nov 2005 19:48:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2005/11/28/5714.aspx</guid><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;In the previous post I talked about Reading Files.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Now I will show you how to Write Files. &lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;Writing to Files is as easy as &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;Reading&lt;/st1:place&gt;&lt;/st1:City&gt; from Files.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;As with Reading Files you need to Import the System.IO Namespace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; System.IO&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;As with the StreamReader, writing with StreamWriter can be done in more than one way.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;How you Write to the File will also depend on if you want to Write to a New File, Overwrite and existing File or Appending and existing File.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;Let&amp;#8217;s take a look at Writing to a New File.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sw &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;New&lt;/FONT&gt; StreamWriter(PathToFileHere)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Declare your StreamWriter and File Path&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; MyString &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;String&lt;/FONT&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Declare the String you will write to the File&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;MyString = &amp;#8220;Blah, Blah, Blah&amp;#8221;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Set the Value of your String&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.Write(MyString)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Write the String to the File&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.Close()&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Close the StreamWriter&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;The above code will create the File, if it does not Exist and write the String to the File.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;(*Caution is advised here as the same code will Overwrite the contents of an existing File.)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;If you want to Append an Existing File there are a couple of ways to go about it.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;As always when working with files you need to add the Imports Statement.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; System.IO&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;Then you need to add the code that will Append the File.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sw &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; StreamWriter = File.AppendText(PathToFileHere)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; MyString &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;String&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;MyString = &amp;#8220;Blah, Blah, Blah&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.Write(Environment.NewLine &amp;amp; MyString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;You can also use WriteLine()&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; Sytsem.IO&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sw &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;New&lt;/FONT&gt; StreamWriter(PathToFileHere)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; MyString &lt;FONT color=#0000ff&gt;As String&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;MyString = &amp;#8220;Blah, Blah, Blah&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.WriteLine(Environment.NewLine &amp;amp; MyString)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;sw.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="FONT-FAMILY: 'Courier New'"&gt;&lt;FONT face="Times New Roman"&gt;Hopefully this quick look at Writing to Files gives you a start on Writing Files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/5714.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>V. Neil Knobbe</dc:creator><title>Reading Files</title><link>http://blogs.vbcity.com/canoz/archive/2005/11/28/5713.aspx</link><pubDate>Mon, 28 Nov 2005 19:43:00 GMT</pubDate><guid>http://blogs.vbcity.com/canoz/archive/2005/11/28/5713.aspx</guid><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;Depending on your Project you could find yourself needing to read Files.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;One way that you can accomplish this is to use the StreamReader.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;StreamReader is part of the System.IO Namespace and you must add the Imports Statement to your Project before you can access the StreamReader.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;At the very top of your Form.vb code page, before anything else, you would type:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; System.IO&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;Now your Project can access the System.IO Namespace.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;(Admittedly you could access the System.IO Namespace without using the Imports Statement.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You would just need to put System.IO in front of all the Classes of the IO Namespace that you use in your Project.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;For example System.IO.StreamReader or System.IO.File.OpenText, but I prefer using the Imports Statement.)&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;The next thing you want to do is to declare your StreamReader.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A couple different ways of doing this are:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sr &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;New&lt;/FONT&gt; StreamReader(PathToFileHere)&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;'&amp;nbsp;or&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sr As &lt;FONT color=#0000ff&gt;StreamReader&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;sr = File.OpenText(PathToFileHere)&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;Depending on what you want to do with the contents of the File, you can Read the contents of the File Line by Line or the entire Length of the File.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Read entire Length of a File&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; System.IO&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Add Imports Statement to top of Form Code&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sr As &lt;FONT color=#0000ff&gt;New&lt;/FONT&gt; StreamReader(PathToFileHere)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;FONT color=#008000&gt;&amp;nbsp;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Declare the StreamReader and Open the File&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; MyString &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;String&lt;/FONT&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Declare a String Variable to hold the contents of the File.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;MyString = sr.ReadToEnd()&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Read the contents of the file into the String Varaible&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;txtTextBox1.Text = MyString&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Display the contents of the File.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;Read a File Line by Line&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Imports&lt;/FONT&gt; System.IO&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Add Imports Statement to top of Form Code&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt; sr &lt;FONT color=#0000ff&gt;As&lt;/FONT&gt; StreamReader&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Declare the StreamReader&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;sr = File.OpenText(PathToFileHere)&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;FONT color=#008000&gt;&amp;nbsp;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; Open the File&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT color=#0000ff&gt;Do&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;While&lt;/FONT&gt; sr.Peek &amp;lt;&amp;gt; -1&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&lt;FONT color=#008000&gt;'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color=#008000&gt; While Peek can read Characters from the File (Peek Returns the next Character until there are no more then will Return a -1).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;sr.ReadLine()&amp;nbsp;&lt;FONT color=#008000&gt;' Read the next Line of the File&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;txtTextBox1.Text &amp;amp;= sr.ReadLine &amp;amp; Environment.NewLine&amp;nbsp;&lt;FONT color=#008000&gt;' Display the Line of the File&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;&lt;FONT color=#0000ff&gt;Loop&lt;/FONT&gt;&lt;/st1:place&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;sr.Close()&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Lucida Casual'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT face="Times New Roman"&gt;As with just about everything in programming there are several different ways to accomplish a task.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;These are just two ways that you can go about reading the contents of Files.&lt;/FONT&gt; &lt;/SPAN&gt;&lt;img src ="http://blogs.vbcity.com/canoz/aggbug/5713.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>