xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="ProgBar.Window1" Title ="ProgressBar" Width="500">
//File:Window.xaml.cs using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace ProgBar { public partial class Window1 : Window {