|
<Window x:Class="ExceptionViewerDemo.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStartupLocation="CenterScreen"
Title="ExceptionViewer Demo" Height="106" Width="297">
<Window.Style>
<Style>
<Setter Property="Window.Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1"
StartPoint="0.5,0">
<GradientStop Color="Bisque"
Offset="1" />
<GradientStop Color="Beige"
Offset="0" />
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
</Window.Style>
<Grid>
<Button Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="btnViewException" VerticalAlignment="Top" Width="100" Click="btnViewException_Click">View Exception</Button>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Mark Lauritsen has been a software developer since 1983, starting at IBM and using a variety of languages including PL/1, Pascal, REXX, Ada, C/C++ and C#. Mark currently works at a midstream energy company developing Windows services and desktop applications in C#.