|
<Window x:Class="Technewlogic.Samples.WpfModalDialog.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:Technewlogic.Samples.WpfModalDialog"
Title="MainWindow" Height="300" Width="300">
<Grid>
<Grid x:Name="ModalDialogParent">
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
<TextBox x:Name="MessageTextBox" Text="Hello World!" Margin="3" />
<Button x:Name="ShowModalDialog" Click="ShowModalDialog_Click"
Content="Show Modal Dialog" Margin="3" />
<TextBlock x:Name="ResultText" />
</StackPanel>
</Grid>
<controls:ModalDialog x:Name="ModalDialog" />
</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.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.